-
Reduce allocations through some internal parsing changes
-
Changed parse method arg handling to simple using keyword args
-
Support case insensitive months
-
Migrated to Github Actions (@petergoldstein)
-
Various doc, spec, and gemspec fixes and updates (@tagliala)
-
Raise compilation error if token with capturing arg is used more than once in a format
-
Some small internal refactorings in format compilation
-
Fixed ‘Timeliness.ambiguous_date_format` being used in new threads if custom value set
-
Moved all config from Timeliness to new Configuration class. Delegated all old config methods to Timeliness.configuration instance.
-
Fixed thread safe issue that forced you to use one of the date format methods e.g. ‘use_euro_formats` to initialize the format sets in each new thread. Now a new thread will default to the global default (main thread).
-
Add ‘Timeliness.ambiguous_date_format` config setting (:us or :euro) to control global default for date format sets.
-
Add format for ISO 8601 with usec and ‘Z’ UTC zone offset (jartek)
-
Fix ISO 8601 parsing bug where Z was not recognised as UTC
-
Add ‘zt’ format token to support ‘Z’ (Zulu time) zone offset i.e. +00:00 or UTC
-
Add threadsafety for use_euro_formats & use_us_formats to allow runtime switching (andruby, timdiggins)
-
Fixed file permissions in gem build
-
Fix for parsing invalid datetime string with valid timezone raising exception (lni_T)
-
Add license name in gemspec (Robert Reiz)
-
Fix typo in README format example
-
Add formats for standard Ruby string representations of Time
-
Updated specs to RSpec v3
-
Added some gem specific exception classes
-
Change to a hot switch between US and Euro formats without a compile.
-
Fix date parsing with bad month name defaulting to 1 if year and day present.
-
Fix date parsing with nil month.
-
Fix bug with month_index using Integer method and leading zeroes treated as octal.
-
Correctly handle month value of 0. Fixes issue#4.
-
Compact time array when creating time in zone so that invalid time handling works properly. Fixes issue#3.
-
Add String core extension for to_time, to_date and to_datetime methods, like ActiveSupport
-
Allow arbitrary format string as :format option and it will be compiled, if not found.
-
Catch all errors for ActiveSupport not being loaded for more helpful error
-
Fix issue with 2nd argument options being overidden
-
Support for parsed timezone offset or abbreviation being used in creating time value
-
Added timezone abbreviation mapping config option
-
Allow 2nd argument for parse method to be the type, :now value, or options hash.
-
Refactoring
-
Allow a lambda for date_for_time_type which is evaluated on parse
-
Return the offset or zone in array from _parse
-
Give a nicer error message if use a zone and ActiveSupport is not loaded.
-
Removed some aliases used in validates_timeliness and are no longer needed.
-
Some minor spec fixes
-
Alias for validates_timeliness compatibility
-
Tiny cleanup
-
Initial release