diff options
author | Eike Rathke <erack@redhat.com> | 2012-01-10 16:42:01 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-01-11 13:18:45 +0100 |
commit | 8298a4741d95034f65c648dddfae081f44cf9455 (patch) | |
tree | 64edd4bc021b92f2f1ae81c9b93a06e6bd4b4d4d /COPYING | |
parent | 958cdbdcf5e35c04e259a69e972684060f1b3d12 (diff) |
strict date recognition using locale's separator and ISO 8601
- Removed separators '-', '.' and '/' working in all combinations in all
locales forcing a date even for 23/12.99 (if locale has DMY order)
* Only the locale's date separator is accepted, plus '-' if the input may
represent an ISO 8601 date yyyy-mm-dd, check is lax though on minimum
digits, y-m-d is also accepted.
* Additionally, accept yy-month-dd or dd-month-yy with month name. Year must
be <1 or >31, 2-digit year magic for values 0,32..99 is applied, or has to
be prefixed with leading zero.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions