Elektra
0.8.21
|
The following representation standards of dates and times are currently supported and can be use by setting check/date
to:
POSIX
see STRPTIME(3)
for more information. a valid format has to be specified in check/date/format
ISO8601
see ISO8601. possible format strings specified in check/date/format
, default: datetime complete+truncated
:
calendardate
calendar dates: day of month - month - year.weekdate
calendar week and day numbers, e.g. YYYY-Www-Dordinaldate
year + day of the yeardate
calendardate
, weekdate
, and ordinaldate
combinedtimeofday
24-hour timekeeyping systemutc
coordinates universal time. either by appending a time-zone designator or the time difference to UTC
to timeofday
datetime
combination of Dates and Time according to th ISO8601 specification.complete+reduced+truncated
is used as default.complete
complete representation, dates are separated by hyphens, times by colon. e.g. YYYY-MM-DD or hh:mm:ssreduced
reduced precision, e.g. YYYY-MM, or hhtruncated
truncated representation, hyphens used to indicate omitted components. e.g. –MM-DD or –sscomplete+reduced+truncated
allow all 3 representationscomplete+reduced
allow only complete
+ reduced
representationcomplete+truncated
allow only complete
+ truncated
representationreduced+truncated
allow only reduced
+ truncated
representation.basic
and extended
are treated as valid.basic
no separating character between individual components of a date
, time
or datetime
expressenextended
separating characters between components. date
components separated by hyphen, time
components by colon.RFC2822
a set of possible format strings derived from rfc2822 3.3, no format string needed.
POSIX.1-2001
TBD
Testing timezone designators currently only works with glibc. Unit tests using timezone designators are locale dependent.