Paul Beckingham
61fc32d04f
ISO8601: Added ::toISOLocalExtended method
2015-10-30 00:38:49 -04:00
Paul Beckingham
6570a42eee
ISO8601: Removed unused methods
2015-10-28 11:47:28 -04:00
Paul Beckingham
10ebefa8eb
TW-1716: on-modify hooks fail if date.iso
is not set
...
- Thanks to Jens Erat.
2015-10-18 10:47:25 -04:00
Paul Beckingham
f687ea1010
TW-1715: Dates misinterpreted when no dateformat active.
...
- To be more specific, dates were misinterpreted when an input date was could
be unambiguously parsed as either ISO or dateformat, for example, if the
dateformat was 'Y-M-D', it matches ISO 'Y-M-DTH:N:S', and the dateformat
was considered a match which ignored the 'H:N:S', if specified.
2015-10-16 11:37:34 -04:00
Paul Beckingham
980dff3048
ISO8601d: Improved ::dump output
2015-10-16 11:35:39 -04:00
Paul Beckingham
4f11740896
ISO8601: Made some methods const
2015-10-16 08:22:57 -04:00
Paul Beckingham
5110a83efa
Cleanup: Corrected object initialization using {}
2015-10-16 08:22:03 -04:00
Paul Beckingham
638c2b35c3
ISO8601: Added ::dump methods for debugging
2015-10-16 07:53:11 -04:00
Paul Beckingham
4882a50b1b
ISO8601d: Fixed parsing of day and month name
2015-10-10 22:48:47 -04:00
Paul Beckingham
053c97fc1d
ISO8601d: Allowed zero-padded values for short form dateformat elements
2015-10-10 21:48:51 -04:00
Paul Beckingham
79886e03ce
Merge branch 'isodate' into 2.5.0
2015-10-07 07:40:28 -04:00
Paul Beckingham
13b8c1a3cc
Task: Migrated from Date to ISO8601d
2015-10-04 17:18:31 -04:00
Paul Beckingham
5018057f19
ISO8601d: ::parse_named now only considers the first token.
2015-10-04 13:26:10 -04:00
Paul Beckingham
61e494195a
ISO8601: Added separate ::isoEnabled settings for ISO8601d and ISO8601p
2015-10-04 10:58:28 -04:00
Paul Beckingham
9adfddfe65
ISO8601: Disentangled ISO8601d and ISO8601p
2015-10-04 10:47:34 -04:00
Paul Beckingham
abbebf69ad
ISO8601d: ::parse_named can also skip ::validate and ::resolve
2015-10-04 10:43:44 -04:00
robin92
5ab0a920cc
Using own version of timegm when applicable.
...
Some systems come without timegm function in standard library. Taskwarrior
already has its own implementation defined in util.c. However, this has
never been used as util.h has not been included.
2015-10-03 10:57:19 -04:00
Paul Beckingham
4f156c407c
Recur: Migrated recurrence from Date to ISO8601d
...
- Changed signature of recur functions, which needed a main.h change, which led
to removing '#include <Date.h>' from main.h, which necessitated adding the
sam include to various other source files. Temporarily.
- Added 'ISO8601d ISO8601d::operator+ (time_t)', because of differences from the
original Date object.
2015-09-30 09:52:09 -04:00
Paul Beckingham
b0e249e564
ISO8601d: Epoch strings are parsed without the same validation as other dates
2015-09-27 16:28:25 -04:00
Paul Beckingham
5cc3c8d05d
ISO8601d: Removed obsolete ::isEpoch method
2015-09-27 12:15:18 -04:00
Paul Beckingham
ae22612584
ISO8601d: Upgraded method from private to static public
2015-09-27 12:14:18 -04:00
Paul Beckingham
fdc791a676
ISO8601d: Implemented ::parse_epoch
2015-09-27 11:15:28 -04:00
Paul Beckingham
f294bc0c2b
ISO8601d: Integrated formatted dates into ISO8601d
...
- Eliminated call to Nibbler::getDate.
- Created structure for Named dates and Epochs, still to be integrated.
2015-09-27 02:08:40 -04:00
Paul Beckingham
dbb6a209a8
ISO8601: Added formatted date parsing
2015-09-27 00:18:38 -04:00
Paul Beckingham
6c02c03674
ISO8601d: Added various ::valid methods
2015-09-26 20:51:04 -04:00
Paul Beckingham
d25113e653
ISO8601d: Added ::toString
2015-09-26 20:35:04 -04:00
Paul Beckingham
85703803c8
ISO8601d: Added ::toEpoch
2015-09-26 18:43:11 -04:00
Paul Beckingham
2414f6b3d4
ISO8601d: Added ::toISO
2015-09-26 18:42:32 -04:00
Paul Beckingham
cc8a305b37
ISO8601d: Added ::toEpoch
2015-09-26 18:39:33 -04:00
Paul Beckingham
4a33f3e093
ISO8601d: Added ::toEpochString
2015-09-26 18:35:47 -04:00
Paul Beckingham
c0bc6059ca
ISO8601d: Added ::toJulian
2015-09-26 16:19:56 -04:00
Paul Beckingham
7a5025e64d
ISO8601d: Added ::toMDY
2015-09-26 16:18:00 -04:00
Paul Beckingham
da88eefe2b
ISO8601d: Added ::startOfYear
2015-09-26 16:15:39 -04:00
Paul Beckingham
b6aced8726
ISO8601d: Added ::startOfMonth
2015-09-26 16:14:12 -04:00
Paul Beckingham
25c4f8871e
ISO8601d: Added ::startOfWeek
2015-09-26 16:12:48 -04:00
Paul Beckingham
a6331747d2
ISO8601d: Added ::oprator++ (postfix)
2015-09-26 16:09:56 -04:00
Paul Beckingham
98dbfb01b4
ISO8601d: ::operator++ (prefix)
2015-09-26 16:08:11 -04:00
Paul Beckingham
e96eaaac38
ISO8601d: Added ::operator-- (postfix)
2015-09-26 16:05:47 -04:00
Paul Beckingham
ef6d0a8f9a
ISO8601d: Added ::operator-- (prefix)
2015-09-26 16:02:41 -04:00
Paul Beckingham
9c9216acbf
ISO8601d: Added ::startOfDay
2015-09-26 16:01:30 -04:00
Paul Beckingham
2242cb2a8b
ISO8601d: Added (m,d,y,h,m,s) ctor
2015-09-26 15:59:41 -04:00
Paul Beckingham
5073921707
ISO8601d: Added (m,d,y) ctor
2015-09-26 15:58:25 -04:00
Paul Beckingham
860a1de034
ISO8601d: Added ::operator-
2015-09-26 15:43:07 -04:00
Paul Beckingham
16818c0b93
ISO8601d: Added ::operator-=
2015-09-26 15:40:40 -04:00
Paul Beckingham
984b12c0d2
ISO8601d: Added ::operator+=
2015-09-26 15:39:03 -04:00
Paul Beckingham
ed2cf991f3
ISO8601d: Added ::operator-
2015-09-26 15:38:25 -04:00
Paul Beckingham
c095289208
ISO8601d: Added ::operator+
2015-09-26 15:33:45 -04:00
Paul Beckingham
957c8b7e7b
ISO8601d: Added ::ISO8601 (time_t)
2015-09-26 15:18:29 -04:00
Paul Beckingham
79f030b199
ISO8601d: Added ::sameYear
2015-09-26 15:11:58 -04:00
Paul Beckingham
04836c2cec
ISO8601d: Added ::sameMonth
2015-09-26 15:10:04 -04:00