Skip to content

Conversation

@tardate
Copy link

@tardate tardate commented May 23, 2011

Hi Aaron,
I made this mod based on your fork in order to suppress const warnings when chronic is used in conjunction with chronic_duration (or other gems that use variants of chronic), by relying on the numerizer gem rather than including the numerizer source directly. Sending this pull request in case its something you'd want to include in your fork too.

There's one new test failure a a result of this change: it doesn't handle "tenth", which I still need to investigate, but appears to be due to some changes in the numerizer gem when comapared to the numerizer class from the original chronic implementation (failure at test/test_parsing.rb:651 : assert_equal parse_now("may 10th"), parse_now("may tenth")

Joe Fiorini + Eric Hankinson and others added 30 commits January 31, 2012 16:28
Handles day, month names with scalar day, year
Update README for endian_precedence option
Request to add autoload support
In addition to adding tests for the RepeaterDayPortion, the class now
properly handles construction of date ranges in which the end time
occurs on a day in which the time changes.
Add tests for the Day Portion Repeater…with DST fix
Replaces common time abbreviations, such as hr, min, and sec, with their
full names.

References: mojombo#100
Moves the suppor for time abbreviations from lib/chronic/chronic.rb to
lib/chronic/repeater.rb.
Add tests for time abbreviations in test/test_parsing.rb.
Add support for common time abbreviations.
davispuh and others added 29 commits September 13, 2014 04:45
Sometimes you want to share the options Hash between multiple calls to Chronic. The existed behavior produced very confusing bugs caused by a parameter disappearing from that shared config.
Fix Chronic.parse year 00 returns nil
Fix warnings: `Use assert_nil if expecting nil` in MT6
This allow to parse German dates without leading zeros, e.g. 1.1.2015 instead of 01.01.2015
This test covers testing sd.sm.sy without padding 0 in front of sd and
sm.
Improve German date format parser
…_github_actions

Migrate CI to GitHub Actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.