Laurence Withers
6246f8ebcd
Fix missing null termination when tz_sec = 0, add test for it
2008-01-07 13:16:18 +00:00
Laurence Withers
1f43445813
Fix bug where iso8601_print() could overrun...
...
If a date with a timezone offset of 0 had a length exactly matching the
buffer size, we would write past the end of the buffer.
2008-01-04 22:47:10 +00:00
Laurence Withers
a4e99696a1
Update build system
2007-12-05 17:45:23 +00:00
Laurence Withers
21adf7acf0
Add setisodate utility.
...
This utility is capable of setting the system clock, taking its argument
in ISO8601 format.
2007-09-13 11:16:23 +00:00
Laurence Withers
64c5ce0d65
Add the isodate utility.
...
This utility provides a way to display dates in ISO8601 format. The
exact output format can be controlled. It can either display dates
passed on the commandline or it can display the current date/time.
2007-09-13 11:09:32 +00:00
Laurence Withers
07a31fd8f7
Add doxygen markup for date/time precision enumerations
2007-09-13 11:08:51 +00:00
Laurence Withers
c47e0e241f
Add functions for converting to/from a struct timespec, and for setting
...
the system clock
2007-09-13 11:05:51 +00:00
Laurence Withers
2a51412ade
Upgrade build system, bump version
2007-09-13 10:25:31 +00:00
Laurence Withers
f49b80de01
Add iso8601_difference()
2007-08-21 09:54:51 +00:00
Laurence Withers
4deda83c58
Bump version
2007-07-29 11:58:18 +00:00
Laurence Withers
ec6c9a41f7
Fix up elapsed manipulation
2007-07-29 11:57:13 +00:00
Laurence Withers
e59586b265
Add an RPN date manipulator
2007-07-29 11:53:55 +00:00
Laurence Withers
1a92252640
Add doxygen documentation
2007-07-24 11:50:45 +00:00
Laurence Withers
6d9df9927d
Bump version
2007-07-24 11:46:05 +00:00
Laurence Withers
a46057ef49
Fix up leap second manipulations
2007-07-24 11:45:21 +00:00
Laurence Withers
35c4455bc2
Further WIP on tidy up and merge beginning of new manipulation infrastructur
2007-07-23 16:55:13 +00:00
Laurence Withers
603b067310
Further WIP on tidy up
2007-07-23 15:00:08 +00:00
Laurence Withers
f82859fa78
Make iso8601_print() return a pointer to its output buffer. This breaks
...
the ABI.
2007-07-23 14:47:49 +00:00
Laurence Withers
d08f81a6cf
Clean up printing
2007-07-23 14:45:11 +00:00
Laurence Withers
5d73f2f004
Pull in sys/time.h for gettimeofday
2007-07-23 14:44:43 +00:00
Laurence Withers
8d7988a0c4
Remove todo and add comment about whitespace stripping
2007-07-23 14:41:05 +00:00
Laurence Withers
a0bc1e3d06
Clean up C library functions. Add fallback to gettimeofday() if clock_gettime() fails.
2007-07-23 14:40:20 +00:00
Laurence Withers
47f35dc992
Clean up iso8601_valid() et al. into iso8601_invalid().
2007-07-23 14:30:18 +00:00
Laurence Withers
674e705d05
Fix up whitespace skipping
2007-07-23 14:22:40 +00:00
Laurence Withers
1b6343e474
Add whitespace stripping to parser
2007-07-23 14:13:48 +00:00
Laurence Withers
e9d29f4792
Begin cleanup of source files
2007-07-23 13:47:53 +00:00
Laurence Withers
0cb46591e9
Bump version
2007-07-23 12:15:04 +00:00
Laurence Withers
a0800d0ed2
Add iso8601_add_nanoseconds, add define for BILLION
2007-07-23 12:14:41 +00:00
Laurence Withers
20a7d92d1c
Bump version
2007-05-23 13:25:31 +00:00
Laurence Withers
728d0b6151
Fix bug in comparison functions, add equality test
2007-05-23 13:25:18 +00:00
Laurence Withers
f90b0ea300
Bump version
2007-05-22 11:41:10 +00:00
Laurence Withers
7aace3d8e3
Add some more leap second support
2007-05-22 11:40:40 +00:00
Laurence Withers
4bd50f62e2
Fix filename in comment
2007-05-22 10:07:20 +00:00
Laurence Withers
db23c34449
Remove final 86401 reference from parser
2007-05-22 10:01:36 +00:00
Laurence Withers
9d5e4dd3c6
Remove a couple more references to 86401 notation
2007-05-22 10:00:27 +00:00
Laurence Withers
81564487a4
Upgrade build system
2007-05-22 09:56:52 +00:00
Laurence Withers
1fc5324e73
Clean up and remove references to 86401 notation.
2006-12-15 22:28:22 +00:00
Laurence Withers
298775a047
Merge branch 'branch-0.0.1'
2006-12-13 22:07:54 +00:00
Laurence Withers
665fcc484c
Add missing config script
2006-12-13 22:07:21 +00:00
Laurence Withers
af480a6476
Merge branch 'branch-0.0.1'
2006-12-13 21:52:37 +00:00
Laurence Withers
a24c6ae302
Upgrade to new build system
2006-12-13 21:38:45 +00:00
Laurence Withers
994a28d35b
Improve parser's dealing of midnight etc.
2006-11-25 01:17:09 +00:00
Laurence Withers
6a55a63695
WIP on leap second support
2006-11-25 00:57:31 +00:00
Laurence Withers
6919b25e84
Fix bugs, finish parser
2006-10-16 00:33:01 +01:00
Laurence Withers
09fd37b4f5
Further WIP on parser
2006-10-16 00:23:06 +01:00
Laurence Withers
02d47dbdf2
Further WIP on parser
2006-10-15 23:26:27 +01:00
Laurence Withers
d61e77f9dc
WIP on parser
2006-10-15 22:11:17 +01:00
Laurence Withers
ff268cded0
Tidy up calc functions
2006-10-15 20:06:34 +01:00
Laurence Withers
582b960e0b
Add from-week-date conversion functions
2006-10-15 19:41:04 +01:00
Laurence Withers
fdd856381d
Further WIP
2006-10-15 18:37:34 +01:00