lib/timeliness/definitions.rb in timeliness-0.4.5 vs lib/timeliness/definitions.rb in timeliness-0.5.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module Timeliness
module Definitions
# Format tokens:
# y = year
@@ -78,10 +80,10 @@
'yyyy-mm-ddThh:nn:ss', # ISO 8601
'yyyy-mm-ddThh:nn:sszo', # ISO 8601 with zone offset
'yyyy-mm-ddThh:nn:sszt', # ISO 8601 with 'Zulu time' (i.e. Z) UTC zone designator
'yyyy-mm-ddThh:nn:ss.u', # ISO 8601 with usec
'yyyy-mm-ddThh:nn:ss.uzo', # ISO 8601 with usec and offset
- 'yyyy-mm-ddThh:nn:ss.uzt', # ISO 8601 with usec and 'Zulu time' (i.e. Z) UTC zone designator
+ 'yyyy-mm-ddThh:nn:ss.uzt', # ISO 8601 with usec and 'Zulu time' (i.e. Z) UTC zone designator
'yyyy-mm-dd hh:nn:ss zo', # Ruby time string in later versions
'yyyy-mm-dd hh:nn:ss tz', # Ruby time string for UTC in later versions
]
# All tokens available for format construction. The token array is made of