1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264
|
## --- Begin gitlab-chronic changes ---
# 0.10.6 / 2020-01-02
* Require gitlab-chronic in tests (https://gitlab.com/gitlab-org/gitlab-chronic/merge_requests/9)
# 0.10.5 / 2019-11-25
* Revert changes made between v0.10.2..master (https://gitlab.com/gitlab-org/gitlab-chronic/merge_requests/7)
# 0.10.4 / 2019-11-24
* Rename chronic -> gitlab-chronic (https://gitlab.com/gitlab-org/gitlab-chronic/merge_requests/5)
# 0.10.3 / 2019-11-23
* Fix Daylight Savings parsing (https://gitlab.com/gitlab-org/gitlab-chronic/merge_requests/3)
* Add .gitlab-ci.yml (https://gitlab.com/gitlab-org/gitlab-chronic/merge_requests/1)
## --- End gitlab-chronic changes ---
# 0.10.2 / 2013-09-09
* Fix 1.8.7 support (due to be dropped in 0.11.0)
* Bugfix for times with negative zones
# 0.10.1 / 2013-08-27
* Support `ActiveSupport::TimeZone` (#209, #208)
# 0.10.0 / 2013-08-25
* Chronic will parse subseconds correctly
for all supported date/time formats (#195, #198 and #200)
* Support for date format: dd.mm.yyyy (#197)
* Option `:hours24` to parse as 24 hour clock (#201 and #202)
* `:guess` option allows to specify which part of Span to return.
(accepted values `false`,`true`,`:begin`, `:middle`, `:end`)
* Replace `rcov` with `SimpleCov` for coverage generation
* Add more tests
* Various changes in codebase (#202 and #206)
# 0.9.1 / 2013-02-25
* Ensure Chronic strips periods from day portions (#173)
* Properly numerize "twelfth", "twentieth" etc. (#172, James McKinney)
* Ensure Chronic is compatible with Ruby 2.0.0 (#165, Ravil Bayramgalin)
# 0.9.0 / 2012-12-21
* Implement Chronic::Parser class and create an instance of this class
instead of leaving all data in the class level of Chronic
* Various bug fixes
* Add support for excel date formats (#149, @jmondo)
* Added support for time expressions such as '10 till' or 'half
past two' (#146, @chicagogrooves)
* Add support for RepeaterDayName, RepeaterMonthName,
Ordinal/ScalarDay and Time (#153, @kareemk)
# 0.8.0 / 2012-09-16
* Support parsing "<ordinal> of this month" (#109)
* Support parsing ISO 8601 format (#115)
* Support parsing "on <day>" without a timestamp (#117)
* Fix time parsing regexp (#125)
* Support time when parsing dd-mm-yyy <time> (#126)
* Allow anchor handler to accept any separators (at, on) (#128)
* Support parsing EXIF date format (#112)
* Start using minitest for testing
* Ensure periods are interpreted as colons (#81).
* Support month/day and day/month parsing (#59).
* Support day(scalar)-month(name)-year(scalar) (#99).
* Handle text starting with 'a' or 'an' (#101, @steveburkett).
* Ensure post medium timestamps are correctly formatted (#89)
# 0.6.7 / 2012-01-31
* Handle day, month names with scalar day and year (Joe Fiorini)
* Ensure 31st parses correctly with day names (Joe Fiorini)
# 0.6.6 / 2011-11-23
* `Chronic.parse('thur')` no longer returns `nil` (@harold)
# 0.6.5 / 2011-11-04
* Fix bug when parsing ordinal repeaters (#73)
* Added handler support for day_name month_name (@imme5150)
* Fix bug when parsing strings prefixed with PM
# 0.6.4 / 2011-08-08
* Fixed bug where 'noon' was parsed as 00:00 rather than 12:00
with :ambiguous_time_range => :none (Vladimir Chernis)
* Add support for handling '2009 May 22nd'
* Add the ability to handle scalar-day/repeater-month-name as well as ordinals
# 0.6.3 / 2011-08-01
* Ensure 'thu' is parsed as Thursday for 1.8.7 generic timestamp
# 0.6.2 / 2011-07-28
* Ensure specific endian handlers are prioritised over normal date handlers
* Recognize UTC as timezone and accept HH::MM timezone offset (Jason Dusek)
# 0.6.1 / 2011-07-21
* Ensure Handler definitions are executed in the correct order
# 0.6.0 / 2011-07-19
* Attempting to parse strings with days past the last day of a month will
now return nil. ex: `Chronic.parse("30th February") #=> nil`
* All deprecated methods are marked for removal in Chronic 0.7.0
* Deprecated `Chronic.numericize_numbers` instead use
`Chronic::Numerizer.numerize`
* Deprecated `Chronic::InvalidArgumentException` and instead use
`ArgumentError`
* Deprecated `Time.construct` and use `Chronic.construct` in place of this
* Deprecated `Time#to_minidate`, instead use `Chronic::MiniDate.from_time(time)`
* Add support for handling generic timestamp for Ruby 1.9+
# 0.5.0 / 2011-07-01
* Replace commas with spaces instead of removing the char (Thomas Walpole)
* Added tests for RepeaterSeason
* Re-factored tests. Now rather than having a test_parsing method for testing
all handlers, break them down independent of handler method. For example
with handler `handle_sm_sd_sy` the subsequent test would be
`test_handle_sm_sd_sy`
* Added support for parsing ordinal-dates/month-names/year, ie:
`2nd of May 1995`
* Added support for parsing ordinal-dates and month names, ie:
`22nd of February at 6:30pm`
* Fix `Time.construct` leap year checking. Instead use `Date.leap?(year)`
# 0.4.4 / 2011-06-12
* Fix RepeaterYear for fetching past year offsets when the current day is
later than the last day of the same month in a past year (leap years) ie
on 29th/feb (leap year) `last year` should (and now does) return 28th/feb
instead of 1st/march
* Opt in for gem testing http://test.rubygems.org/
# 0.4.3 / 2011-06-08
* Fix issue with parsing 1:xxPM -- Ensure 1 is treated as ambiguous, not
just >1
# 0.4.2 / 2011-06-07
* Fix MonthRepeater for fetching past month offsets when current day is
later than the last day of a past month (ie on 29th of March when parsing
`last month` Chronic would return March instead of February. Now Chronic
returns the last day of the past month)
# 0.4.1 / 2011-06-05
* Fix MiniDate ranges for parsing seasons (Thomas Walpole)
# 0.4.0 / 2011-06-04
* Ensure context is being passed through grabbers. Now "Sunday at 2:18pm"
with `:context => :past` will return the correct date
* Support parsing ordinal strings (eg first, twenty third => 1st, 23rd)
* Seasons now ignore DST and return 00 as an hour
* Support parsing 2 digit years and added `ambiguous_year_future_bias` option
* Support parsing 'thurs' for Thursday
* Fix pre_normalize() to remove periods before numerizing
* Fix RepeaterDays to not add an extra hour in future tense. This meant
when parsing 'yesterday' after 11PM, Chronic would return today
* Discard any prefixed 0 for time strings when using post noon portion
* Gemspec updates for RubyGems deprecations
* Ensure 0:10 is treated like 00:10
* Ensure we load classes after setting Chronic class instance variables
so we can debug initialization and do assignments at compile time
* Added a Tag.scan_for method for DRYing up some scanning code
* Move some classes into their own files for maintainability
* Numerizer.andition should be a private class method, make it so
* Namespaced Numerizer, Season and MiniDate (Sascha Teske)
* Support for Ruby 1.9 (Dave Lee, Aaron Hurley)
* Fix `:context => :past` where parsed date is in current month (Marc Hedlund)
* Fix undefined variable in RepeaterHour (Ryan Garver)
* Added support for parsing 'Fourty' as another mis-spelling (Lee Reilly)
* Added ordinal format support: ie 'February 14th, 2004' (Jeff Felchner)
* Fix dates when working with daylight saving times (Mike Mangino)
# 0.3.0 / 2010-10-22
* Fix numerizer number combination bug (27 Oct 2006 7:30pm works now)
* Allow numeric timezone offset (e.g -0500)
* Disregard commas (so as to not return nil)
* Fix parse of (am|pm|oclock) separation to handle "Ham sandwich" properly
* Handle 'on' e.g. 5pm on Monday
* Support seasons
* Support weekend/weekday
* Add endianness option
* Update version number in the module
* Fix/improve logic checks in Ordinal, and Scalar
* Parse 'a' or 'p' as 'am' and 'pm' google-calendar style
* Dates < 1 are not valid
* Fix bugs related to timezone offset
* Use RakeGem for build management
* Reformat README and HISTORY to use Markdown
* Global whitespace removal
# 0.2.3
* Fix 12am/12pm
# 0.2.2
* Add missing files (damn you manifest)
# 0.2.1
* Fix time overflow issue
* Implement "next" for minute repeater
* Generalize time dealiasing to dealias regardless of day portion and
time position
* Add additional token match for cases like "friday evening at 7" and
"tomorrow evening at 7"
* Add support for Time#to_s output format: "Mon Apr 02 17:00:00 PDT 2007"
# 0.2.0 2007-03-20
* Implement numerizer, allowing the use of number words (e.g. five weeks ago)
# 0.1.6 2006-01-15
* Add 'weekend' support
# 0.1.5 2006-12-20
* Fix 'aug 20' returning next year if current month is august
* Modify behavior of 'from now'
* Add support for seconds on times, and thus db timestamp format:
"2006-12-20 18:04:23"
* Make Hoe compliant
# 0.1.4
* Remove verbose error checking code. oops. :-/
# 0.1.3
* improved regexes for word variations
* Fix a bug that caused "today at 3am" to return nil if current time is
after 3am
# 0.1.2
* Remove Date dependency (now works on windows properly without fiddling)
# 0.1.1
* Run to_s on incoming object
* Fix loop loading of repeaters files (out of order on some machines)
* Fix find_within to use this instead of next (was breaking "today at 6pm")
# 0.1.0
* Initial release
|