Commit graph

5226 commits

Author SHA1 Message Date
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
Tomas Babej
830a8c6ec8 CLI2: Display filter footnote only if some filter token is present 2015-10-03 09:15:15 -04:00
Paul Beckingham
fff27ffabe CmdExport: Measures JSON composition time under context.timer_render 2015-10-03 08:56:05 -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
953e1e4cc1 Nibbler: Removed unused comment 2015-09-30 09:47:54 -04:00
Tomas Babej
f0e8d2027c CLI2: Display filter footnote only if some filter token is present 2015-09-29 21:04:32 -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
1d598d0e8c Context: Converted from Date to ISO8601d 2015-09-27 11:14:49 -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
d11b5de3b4 Nibbler: Code formatting 2015-09-27 02:03:00 -04:00
Paul Beckingham
dbb6a209a8 ISO8601: Added formatted date parsing 2015-09-27 00:18:38 -04:00
Paul Beckingham
244a80f799 ISO8601: Migrated more Date instances to ISO8601d 2015-09-26 23:20:08 -04:00
Paul Beckingham
68c6afbdd4 ISO8601d: Conversion from Date to ISO8601d 2015-09-26 23:08:29 -04:00
Paul Beckingham
23c2958f44 Dates: Converted from Date to ISO8601d 2015-09-26 21:16:11 -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
Paul Beckingham
aa90fdbe1c ISO8601d: Added ::sameWeek 2015-09-26 15:07:48 -04:00
Paul Beckingham
2c449583ef ISO8601d: Added ::sameDay 2015-09-26 15:05:58 -04:00
Paul Beckingham
ec66bc73d3 ISO8601d: Added ::sameHour 2015-09-26 15:04:01 -04:00
Paul Beckingham
fe509cd3dd ISO8601d: Added ::operator>= 2015-09-26 15:01:29 -04:00
Paul Beckingham
b7afcb9723 ISO8601d: Added ::opreator<= 2015-09-26 14:59:47 -04:00
Paul Beckingham
e09eee1a59 ISO8601d: Added ::operator> 2015-09-26 14:58:24 -04:00
Paul Beckingham
9f8ea49446 ISO8601d: Added ::operator< 2015-09-26 14:56:36 -04:00