| 1 |
Revision history for Perl module DateTime::Format::Flexible |
| 2 |
|
| 3 |
0.37 Tue Dec 31 2024 |
| 4 |
- remove List::MoreUtils prereq. |
| 5 |
- thanks PLICEASE rt #158183 |
| 6 |
|
| 7 |
0.36 Wed Oct 16 2024 |
| 8 |
- further changes to be backwards compatible with DateTime::TimeZone 2.62 and below. |
| 9 |
- thanks ppisar rt #155996 |
| 10 |
- fix stray debug statement |
| 11 |
- thanks ppisar rt #155995 |
| 12 |
|
| 13 |
0.35 Sun Oct 6 2024 |
| 14 |
- support changes in DateTime::Timeone 2.63 |
| 15 |
- thanks ppisar rt #155591 and gregoa rt #155962 |
| 16 |
|
| 17 |
0.34 Wed Jul 7 2021 |
| 18 |
- support timezones in parenthesis |
| 19 |
- Add support for YYYY-MM-DD HH:MM P.M. format |
| 20 |
- thanks Michael Schout for the patch! |
| 21 |
|
| 22 |
0.33 Wed May 26 2021 |
| 23 |
- changes to how some days are parsed to fix memory leaks |
| 24 |
- remove Module::Pluggable as a dependency |
| 25 |
- thanks BBKR rt #136597 |
| 26 |
|
| 27 |
0.32 Sat Sep 14 2019 |
| 28 |
- add support for offset timezones without a space separator and formatted HH:MM '2019-09-03T10:42:00.000-04:00' |
| 29 |
- thanks Stijn Heymans |
| 30 |
- allow negative timezone offsets in 2 and 4 digit lengths with and without spaces |
| 31 |
- now works: 2007-05-06T04:44:44-0800 |
| 32 |
- now works: 2007-05-06T04:44:44-08 |
| 33 |
- now works: 2007-05-06T04:44:44 -08 |
| 34 |
- validate all timezone offsets |
| 35 |
|
| 36 |
0.31 Mon Sep 17 2018 |
| 37 |
- add support for Sep 10, 2018 12:58, Sep 10, 18 12:58 |
| 38 |
- thanks Ian! D. Allen |
| 39 |
|
| 40 |
0.30 Fri Mar 09 2018 |
| 41 |
- add support for bare times with am/pm |
| 42 |
- thanks Rod Taylor rt #124567 |
| 43 |
- add support for format JUL25'17 |
| 44 |
- thanks Rod Taylor rt #124596 |
| 45 |
- fix warnings with invalid strings that have 'at' in them |
| 46 |
- example: not a date |
| 47 |
- thanks Rod Taylor rt #124589 |
| 48 |
|
| 49 |
- add support for bare times with 'at' |
| 50 |
- examples: |
| 51 |
- at noon |
| 52 |
- at one |
| 53 |
- at one pm |
| 54 |
- at 12:43 |
| 55 |
|
| 56 |
0.29 Wed Feb 21 2018 |
| 57 |
- add support for 19 February 2018 at 10:33 |
| 58 |
- thanks Rod Taylor rt #124520 |
| 59 |
|
| 60 |
0.28 Thu Mar 23 2016 |
| 61 |
- fix tests under perl 5.25.10+ with -Ddefault_inc_excludes_dot |
| 62 |
- thanks Kent Fredric rt #120698 |
| 63 |
|
| 64 |
0.27 Mon Mar 06 2017 |
| 65 |
- support a single lang as a string instead of requiring an arrayref (DWIM) |
| 66 |
- example: lang => 'en' |
| 67 |
- add support for: |
| 68 |
- "next (weekday)" eg: next sunday |
| 69 |
- "last (weekday)" eg: last sunday |
| 70 |
- "next (month)" eg: next january |
| 71 |
- "last (month)" eg: last january |
| 72 |
- "(x unit) from now" eg: 3 years from now |
| 73 |
- "(-x unit)" eg: -3 months |
| 74 |
- "(+x unit)" eg: +3 months |
| 75 |
- "YYMMDD HH:MM:SS" eg: 950404 00:22:12 |
| 76 |
- "YYMMDD HH:MM:SS.NS" eg: 950404 00:22:12.500 |
| 77 |
- "Mon D HH:MM:SS.NS TZ YYYY" eg: Fri Dec 2 22:56:03.500 GMT+0 1994 |
| 78 |
- thanks David White rt #105178, tests from Time::ParseDate |
| 79 |
- when we have a leading month that is 0 (zero) and we have a year, assume it is supposed to be october (10) |
| 80 |
- thanks Dave Musakhanyan |
| 81 |
|
| 82 |
0.26 Tue Apr 22 2014 |
| 83 |
- support "MM/DD/YYYY HH:MM" (missing seconds), |
| 84 |
- support "EEE MMM dd HH:mm:ss z yyyy" (UTC timezone inside string) |
| 85 |
- thanks David White rt #94911 |
| 86 |
|
| 87 |
0.25 Mon Mar 04 2013 |
| 88 |
- support "HH:MM::SS timezone YYYY/MM/DD" |
| 89 |
- thanks Kevin Zwack |
| 90 |
|
| 91 |
0.24 Mon Nov 26 2012 |
| 92 |
- fix removal of 'am' in the german language file when we already know what part is the time part |
| 93 |
- fix removal of 'st' when not preceded by a digit |
| 94 |
- thanks Andreas Koenig rt #81432 |
| 95 |
- support "YYYYMMDD timezone" |
| 96 |
|
| 97 |
0.23 Thu Jun 14 2012 |
| 98 |
- Fix for MM/YYYY (was always setting the base year) |
| 99 |
- thanks John Marling |
| 100 |
- Support MM/YY if MMYY is given as an option |
| 101 |
- pod cleanup |
| 102 |
|
| 103 |
0.22 Mon Jun 11 2012 |
| 104 |
- update GPL in the LICENSE file (apparently the FSF has a new address) |
| 105 |
- thanks ppisar rt #74363 |
| 106 |
- update POD to match the license file |
| 107 |
- thanks ppisar rt #74358 |
| 108 |
- fix typo for saturday in the german language file |
| 109 |
- thanks TMUELLER rt #77721 |
| 110 |
- don't check the language extensions if we don't have any non-digits in the string we are checking (excluding delimiters: \/-.:[space]) |
| 111 |
- fix typos in the pod documentation, add a link to the german translations |
| 112 |
- add support and more tests for some time-first formats |
| 113 |
- add support for GMT timezone anywhere in the date/time string |
| 114 |
|
| 115 |
0.21 Sun Jan 01 2012 |
| 116 |
- handle mm/yyyy and m/yyyy |
| 117 |
|
| 118 |
0.20 Sun Sep 18 2011 |
| 119 |
- case insensitive handling of st|nd|rd|th (3rd and 3RD now work) |
| 120 |
- thanks Brett Carson |
| 121 |
|
| 122 |
0.19 Fri Jan 07 2011 |
| 123 |
- support for German (de) |
| 124 |
- thanks Mark Trettin |
| 125 |
- better support for DD MM |
| 126 |
- support for natural dates in all languages (3 years ago) |
| 127 |
|
| 128 |
0.18 Sat Jan 01 2011 |
| 129 |
- move a test that was hardcoded to a year to the no_year tests. |
| 130 |
- thanks cpantesters |
| 131 |
|
| 132 |
0.17 Tue Oct 26 2010 |
| 133 |
- more formats supported |
| 134 |
- support timezone offsets that are not at the end of the datetime string. |
| 135 |
- they must be 4 digits and begin with a plus or minus |
| 136 |
- thanks snarkyboojum: http://use.perl.org/use.perl.org/_snarkyboojum/journal/40297.html |
| 137 |
- better support for dates like 'December 1st' |
| 138 |
- POD formatting fixes |
| 139 |
- support 'Oct.26, 2010'. |
| 140 |
- thanks Brian Knapp |
| 141 |
|
| 142 |
0.16 Thu Aug 25 2010 |
| 143 |
- make sure 'now' means now and not when the module loaded unless user has set a base |
| 144 |
- thanks Ryan Voots rt #60731 |
| 145 |
|
| 146 |
0.15 Mon Mar 10 2010 |
| 147 |
- fix tests for DateTime string overloading problem |
| 148 |
- thanks Andreas Koenig and Michael Schwern |
| 149 |
|
| 150 |
0.14 Sun Feb 28 2010 |
| 151 |
- fix test: '1 month ago at 4pm' could be potentially less that 28 days ago. |
| 152 |
- fix tests for infinity, -infinity, infinito, and -infinito |
| 153 |
|
| 154 |
0.13 Sat Feb 27 2010 |
| 155 |
- make parsing for infinity and -infinity more reliable |
| 156 |
|
| 157 |
0.12 Thu Feb 25 2010 |
| 158 |
- fix DateTime::Format::Builder import |
| 159 |
|
| 160 |
0.11 Wed Feb 24 2010 |
| 161 |
- remove Readonly dependency |
| 162 |
- support some postgresql datetimes: epoch, infinity, -infinity, allballs |
| 163 |
- see http://www.postgresql.org/docs/8.4/interactive/datatype-datetime.html section 8.5.1.4 |
| 164 |
- 'infinity' returns a DateTime::Infinite::Future object |
| 165 |
- '-infinity' returns a DateTime::Infinite::Past object |
| 166 |
|
| 167 |
0.10 Wed Feb 24 18:45:00 2009 |
| 168 |
- support for single character am/pm strings '3p' |
| 169 |
- support for days of the week (wednesday => the nearest future wednesday) |
| 170 |
- thanks Shawn Moore, rt #53188 |
| 171 |
- note: this is quite limited, I need more test cases |
| 172 |
- works: wednesday |
| 173 |
- works: wed at 3p |
| 174 |
- support for bare months (february) |
| 175 |
- support for limited timezones that are not at the end of the string |
| 176 |
- thanks Dave Faraldo |
| 177 |
- 'Wed Nov 11 13:55:48 PST 2009' becomes |
| 178 |
- 2009-11-11T13:55:48 America/Los_Angeles |
| 179 |
- beginning multiple language support (contributions welcome) |
| 180 |
- support english (en) and spanish (es) |
| 181 |
- support dates like 'now, today, tomorrow' |
| 182 |
- switch to strptime from regexes for some parsing for clarity |
| 183 |
- now supports negative timezone offsets IF it is a 4 digit offset and there is a space before the offset |
| 184 |
- works: 2007-05-06T04:44:44 -0800 |
| 185 |
- does not work: 2007-05-06T04:44:44-0800 |
| 186 |
- does not work: 2007-05-06T04:44:44-08 |
| 187 |
- does not work: 2007-05-06T04:44:44 -08 |
| 188 |
- now supports 2 digit years as the first number if the year is > 31 |
| 189 |
- works: 35-12-23 (2035-12-23T00:00:00) |
| 190 |
- does not work: 11-12-13 (2013-11-12T00:00:00, or 2013-12-11T00:00:00 with european hinting) |
| 191 |
- timezone parsing should now be more reliable |
| 192 |
- you can now set a 'base' datetime object to help fill out partial datetimes |
| 193 |
|
| 194 |
0.09 Sun May 24 22:00:00 2009 |
| 195 |
- add a real copyright for Debian packaging |
| 196 |
- fix parsing a bare 4 digit year. |
| 197 |
- thanks Dominic Rose, rt #46278 |
| 198 |
|
| 199 |
0.08 Wed Apr 22 14:00:00 2009 |
| 200 |
- fix some pod errors, give an example for european hinting |
| 201 |
|
| 202 |
0.07 Tue Apr 22 03:00:00 2009 |
| 203 |
- add ability to strip strings from the date string |
| 204 |
- can now parse timezones |
| 205 |
- rudimentary support for european dates (dd-mm-yyyy) |
| 206 |
- can now parse epoch times |
| 207 |
|
| 208 |
0.06 Mon Apr 20 15:06:00 2009 |
| 209 |
- Fix parsing bug with dd-(oct|nov|dec)-yyyy |
| 210 |
- thanks Phil Brass |
| 211 |
|
| 212 |
0.05 Fri Apr 4 14:00:00 2008 |
| 213 |
- fix some test helper libraries not being included. |
| 214 |
- thanks GOOZBACH, rt #34683 |
| 215 |
|
| 216 |
0.04 Fri Mar 14 21:00:00 2008 |
| 217 |
- fix broken 0.03 release |
| 218 |
- split tests out for easier integration into other distributions |
| 219 |
|
| 220 |
0.03 Mon Mar 10 02:00:00 2008 |
| 221 |
- add method "parse_datetime" as an alias for "build". |
| 222 |
- thanks Adriano Rodrigues Ferreira |
| 223 |
|
| 224 |
0.02 Tue Oct 02 01:50:00 2007 |
| 225 |
- fixed pod formatting |
| 226 |
- added new parseable format: 2007-10-01 13:11:32.741804. |
| 227 |
- thanks RKRIMEN |
| 228 |
|
| 229 |
0.01 Sun Jul 15 20:09:47 2007 |
| 230 |
- original version; created by ExtUtils::ModuleMaker 0.49 |