lib/et-orbi/zones.rb in et-orbi-1.2.4 vs lib/et-orbi/zones.rb in et-orbi-1.2.5
- old
+ new
@@ -11,10 +11,10 @@
(?:[0-1][0-9]|2[0-4])
(?:(?::)?(?:[0-5][0-9]|60))?
(?![-+])
|Z
)
- }x
+ }x.freeze
# https://en.wikipedia.org/wiki/ISO_8601
# Postel's law applies
#
def list_iso8601_zones(s)