diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-08-23 23:05:39 +0300 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-09-05 15:24:33 +0300 |
commit | 7a8d216480b8b33c38c56c28734deb96f74f0988 (patch) | |
tree | 202207921cfedf2f228c26795e3846878f1aa04f /config/initializers/chronic_duration.rb | |
parent | dd80d6229215d0ca4c3eae7bde1ac4b2a0d12d3c (diff) |
Fix time tracking parsing of months
Patches ChronicDuration to use our custom conversions
when parsing months
Diffstat (limited to 'config/initializers/chronic_duration.rb')
-rw-r--r-- | config/initializers/chronic_duration.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/initializers/chronic_duration.rb b/config/initializers/chronic_duration.rb index b65b06c813a..aa43eef434c 100644 --- a/config/initializers/chronic_duration.rb +++ b/config/initializers/chronic_duration.rb @@ -1 +1,5 @@ +# frozen_string_literal: true + ChronicDuration.raise_exceptions = true + +ChronicDuration.prepend Gitlab::Patch::ChronicDuration |