diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-08-24 04:05:39 +0800 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-09-05 20:24:33 +0800 |
commit | 7a8d216480b8b33c38c56c28734deb96f74f0988 (patch) | |
tree | 202207921cfedf2f228c26795e3846878f1aa04f /config | |
parent | dd80d6229215d0ca4c3eae7bde1ac4b2a0d12d3c (diff) | |
download | gitlab-ce-7a8d216480b8b33c38c56c28734deb96f74f0988.tar.gz |
Fix time tracking parsing of months59729-estimate-quick-action-does-not-produce-correct-time-for-1mo
Patches ChronicDuration to use our custom conversions
when parsing months
Diffstat (limited to 'config')
-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 |