Paul Beckingham
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
340ec66891
Dates: Migrated from ISO8601d to Datetime
2016-12-17 21:56:18 -05:00
Paul Beckingham
355620c640
libhsared: migrating from local to libshared
2016-12-06 07:20:45 -05:00
Lynoure Braakman
6a790e3675
juhannus as an alternative name for midsommarafton
2016-03-27 16:48:34 -04:00
Paul Beckingham
e361c2c751
TW-1719: Description cannot contain improper ordinals
...
- Thanks to Ben Boeckel.
2016-01-12 00:04:48 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
a3736f6363
Revert "Dates: Converted from strtol to std::stoi"
...
This reverts commit d295755bb7
.
2015-11-02 18:41:22 -05:00
Paul Beckingham
d295755bb7
Dates: Converted from strtol to std::stoi
2015-11-01 21:41:47 -05:00
Paul Beckingham
5c8b7148b4
Task: Moved include to top of list, per flint++ recommendation
2015-11-01 19:59:10 -05:00
Paul Beckingham
51def4b12b
Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer
2015-10-30 10:57:14 -04:00
Paul Beckingham
abbebf69ad
ISO8601d: ::parse_named can also skip ::validate and ::resolve
2015-10-04 10:43:44 -04:00
Paul Beckingham
23c2958f44
Dates: Converted from Date to ISO8601d
2015-09-26 21:16:11 -04:00
Paul Beckingham
d351c9faf2
Dates: Converted from Date::daysInMonth to ISO8601d::daysInMonth
2015-09-26 14:12:23 -04:00
Paul Beckingham
ff965c95d3
TW-1687: task add due:som appears to be interpreted as 'someday'
...
- Thanks to Alan Young.
2015-09-06 15:48:05 -04:00
Paul Beckingham
7ec2992ca8
TW-1611: soww weirdness
...
- Thanks to Wim Schuermann.
2015-08-05 20:50:56 -04:00
Paul Beckingham
297b0c4b04
Dates: Added exact-match 'eaѕter' logic
...
- Without checking for an exact match for 'easter', the date 'easter' is a
valid partial match for 'eastermonday'.
2015-07-24 22:57:47 -04:00
Paul Beckingham
f1251303de
Date: Collapsed 'sunday' and 'sun' into a closeEnough() call
...
- Removed the STRING_DATE_JANUARY_LONG and STRING_DATE_JANUARY_SHORT,
replacing them with STRING_DATE_JANUARY and a call to closeEnough().
This means you can enter 'jan', 'janu', 'janua', 'januar', 'january',
instead of only 'jan' or 'january'.
2015-07-19 19:52:36 -04:00
Paul Beckingham
f36c14e6b4
TW-1515: abbreviation.minimum does not apply to date recognition
...
- Thanks to Lars Beckers.
2015-07-19 19:08:38 -04:00
Paul Beckingham
c8d0a22fac
Cleanup: Fixed inconsistent comments
2015-07-19 15:06:19 -04:00
Paul Beckingham
3cbb2bb20f
Lexer: Migrated isdigit to Lexer::isDigit
2015-04-16 23:33:25 -04:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
c54a17089a
Dates
...
- Converted ::isDay to use Date::dayOfWeek.
2014-07-06 00:20:25 -04:00
Paul Beckingham
d5919d9608
Dates
...
- Removed unused ::leapYear function.
2014-07-06 00:10:48 -04:00
Paul Beckingham
fb48177e90
Dates
...
- Eliminated redundant implementations of daysInMonth().
2014-07-05 13:02:01 -04:00
Paul Beckingham
57e63dfeb2
L10N
...
- Localized Dates.
2014-07-05 11:39:22 -04:00
Paul Beckingham
4996576d64
Dates
...
- Removed unused constants.
2014-07-05 11:30:04 -04:00
Paul Beckingham
91670e9cb5
Dates
...
- Named dates now store the raw form as the source, to assist parsing.
2014-06-29 22:18:43 -04:00
Paul Beckingham
3116ddcd6d
Dates
...
- Fixed problem with eoy, where is was YYYY-12-31T00:00:00, which is
24 hours earlier than actual eoy. Other 'eo*' names were also wrong.
So much for unit tests.
2014-06-15 22:34:16 -04:00
Paul Beckingham
877c6fae9e
Dates
...
- 'eom' and 'eocm' are not on YYYY-MM-{28,30,31}T00:00:00, they are
one day later.
2014-06-15 19:14:24 -04:00
Paul Beckingham
20de57e87c
Dates
...
- 'eoy' is not YYYY-12-31T00:00:00, it's one day later.
2014-06-15 19:13:48 -04:00
Paul Beckingham
0a67913b48
Dates
...
- Fixed a loose, ill-defined, poorly constructed excuse for a detector
of date ordinals ("1st, "22nd", "3rd" and "6th").
2014-06-09 22:19:41 -04:00
Paul Beckingham
20d4e37b40
Dates
...
- Corrected implementation of all named dates. There were ... issues.
2014-06-08 15:02:08 -04:00
Paul Beckingham
c3a759c63d
Dates
...
- Moved an invariant to greater scope.
2014-05-24 11:37:21 -04:00
Paul Beckingham
b532b94b81
Dates
...
- Implemented midsommar and midsommarafton.
2014-05-24 11:34:40 -04:00
Paul Beckingham
623b1619df
Dates
...
- Converted atoi to strtol, and added the missing include.
2014-05-20 18:01:35 -04:00
Paul Beckingham
52edc9b7cf
Dates
...
- Easter needs time set to 0:00:00.
2014-05-19 22:06:11 -04:00
Paul Beckingham
23f6840b95
Dates
...
- Supports '21st' as a date. Theoretically.
2014-05-19 22:02:08 -04:00
Paul Beckingham
32272addd0
Code Cleanup
...
- Simplified leap year code.
- Began documenting date constants (eom, eow ...).
- Implemented 'soq', 'eoq'.
- Stubbed all the missing named dates.
- Removed unrelated constants.
2014-04-12 12:29:06 -04:00
Paul Beckingham
ab0d929a3c
Dates
...
- Added support for eom and eocm.
- Added more named date unit tests.
2014-01-06 23:42:02 -05:00
Paul Beckingham
f6d0be24da
Dates
...
- Merged libexpr Dates support.
2014-01-02 01:24:25 -05:00