Paul Beckingham
88516acdaa
Copyright update
2018-05-13 20:50:26 -04:00
Paul Beckingham
8e8e0201f0
Tests: Added ::sameQuarter tests
2018-05-13 19:54:39 -04:00
Paul Beckingham
c99754391f
Tests: Added 'w' dateformat test
2018-05-13 19:54:06 -04:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
7b8df7a439
Test: Conditional compilation allows Taskserver to reuse code
2015-11-08 17:05:30 -05:00
Paul Beckingham
7a48d25eaa
ISO8601: Implemented ::dayNameShort and ::monthNameShort
...
- Added tests.
2015-11-01 18:02:08 -05:00
Paul Beckingham
e833cf05c5
Test: Added more dateformat parse tests
2015-10-28 19:48:12 -04:00
Paul Beckingham
9b59eefbc3
Test: Added ISO8601d formatting tests
2015-10-28 13:13:09 -04:00
Paul Beckingham
461610aaa6
Test: Cleanup prep for '-Wextra'
2015-10-16 15:55:17 -04:00
Paul Beckingham
cfebb21260
Test: Enabled test that was failing
2015-10-10 22:49:41 -04:00
Paul Beckingham
5ef2d6f00d
Test: Enabled test that was disabled and failing
2015-10-10 22:01:09 -04:00
Paul Beckingham
40993623d7
Test: Fixed broken test
2015-10-07 07:58:34 -04:00
Paul Beckingham
1cea249c9e
Test: Restored old tests for ISO8601d
2015-10-07 07:55:22 -04:00
Paul Beckingham
69a60103b9
Test: Added more ISO8601d tests
2015-09-27 11:19:02 -04:00
Paul Beckingham
49aa62b3b4
Tests: Added more ISO8601d tests
2015-09-27 02:11:05 -04:00
Paul Beckingham
dbb6a209a8
ISO8601: Added formatted date parsing
2015-09-27 00:18:38 -04:00
Paul Beckingham
b8977c4dd0
Test: Added more ISO8601d tests
2015-09-26 23:25:20 -04:00
Paul Beckingham
f32e53c7d6
Test: Added more ISO8601d tests
2015-09-26 22:23:04 -04:00
Paul Beckingham
1ff4e2ff13
Test: Added more ISO8601d tests
2015-09-26 22:07:04 -04:00
Paul Beckingham
12661b4bde
Test: Added more ISO8601d tests
2015-09-26 21:59:12 -04:00
Paul Beckingham
073f978955
Test: Added more ISO8601d tests
2015-09-26 21:49:39 -04:00
Paul Beckingham
76db26e3d7
Test: Added more ISO8601d tests
2015-09-26 21:47:23 -04:00
Paul Beckingham
843e49e2bc
Test: Added more ISO8601d tests
2015-09-26 21:43:58 -04:00
Paul Beckingham
2b31994ce0
Test: Added more ISO601d tests
2015-09-26 21:41:50 -04:00
Paul Beckingham
ff320345e9
ISO8601: Added ::monthOfYear and tests
2015-09-26 14:47:08 -04:00
Paul Beckingham
f26cff9a4a
ISO8601d: Added :dayName methods and tests
2015-09-26 14:32:14 -04:00
Paul Beckingham
0d6788635e
ISO8601d: Added ::monthName and tests
2015-09-26 14:02:26 -04:00
Paul Beckingham
965415d7a4
ISO8601d: Added ::daysInYear and tests
2015-09-26 13:57:10 -04:00
Paul Beckingham
d8eb0ac0da
ISO8601d: Added ::daysInMonth and tests
2015-09-26 13:52:43 -04:00
Paul Beckingham
6f5d07dcd4
ISO8601d: Added ::leapYear and tests
2015-09-26 13:47:27 -04:00
Paul Beckingham
f615db8a4c
ISO8601d: Added ::length and tests
2015-09-26 13:38:32 -04:00
Paul Beckingham
9962c14de2
Test: Added test for ISO8601d::dayOfWeek
2015-09-26 13:33:41 -04:00
Paul Beckingham
eeb592d032
ISO8601d: Renamed ::_value to ::_date
2015-09-26 12:26:09 -04:00
Paul Beckingham
b0c8f4ca4f
ISO8601: Restored support for the UTC & local non-extended full form
2015-07-04 16:04:03 -04:00
Paul Beckingham
4b8fdd0fbe
ISO8601: Removed non-extended forms
...
- Removed support for non-extended forms, which is approximately half of the
formats. These include:
YYYYMMDD
YYYYWww
YYYYWwwD
hhmmѕsZ
hhmmZ
hhZ
and combinations thereof. Essentially all forms that contains run-on sequences
of integers, without separators. These removed forms will still be supported
via rc.dateformat.
- Removed unsupported forms from iso8601d.t.cpp.
- Removed unsupported forms from datetime-negative.t, and corrected the tests
that now succeed.
2015-06-27 13:48:42 -04:00
Paul Beckingham
fcfc1d1a31
ISO8601: Removed ambiguous format support
...
- Disallows 2-digit times, such as 14 (2pm). Now requires at least minutes
included as well. This is likely to need further review, and possible dropping
of all non-extended date forms (hhmmss, yyyymmdd), otherwise there will always
be confusion between ID, UUID and ISO8601 dates.
- Removed 2-digit time tests.
2015-06-25 23:20:59 -04:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
065cb2ef01
Bug
...
- Correct a DST error in date handling.
2014-03-13 21:15:42 -04:00
Paul Beckingham
22303e8e1c
Portability
...
- Now uses POSIX mktime instead of timelocal calls.
2014-01-27 17:24:42 -05:00
Paul Beckingham
712b0bb4b5
ISO8601
...
- Merged libexpr ISO8601 code.
2014-01-02 00:45:16 -05:00