lib/cocoa/sugarcube-nsdate/nsdate.rb in sugarcube-3.3.5 vs lib/cocoa/sugarcube-nsdate/nsdate.rb in sugarcube-3.3.6

- old
+ new

@@ -2,9 +2,10 @@ # these formatters are used in `string_with_format`. Symbols are converted to # a string using string_with_format's templating, and strings are concatenated # as-is SugarCubeFormats = { iso8601: [:yyyy, '-', :MM, '-', :dd, ' ', :'HH:mm:ss.SSS'], + universal: [:yyyy, '-', :MM, '-', :dd, 'T', :'HH:mm:ss'], ymd: [:yyyy, '-', :MM, '-', :dd], hms: [:'HH:mm:ss.SSS'], } def self.from_components(components)