|
Last change
on this file was 745, checked in by Silvan Scherrer, 13 years ago |
|
Samba Server: updated trunk to 3.6.0
|
|
File size:
819 bytes
|
| Line | |
|---|
| 1 | A simple package to deal with ISO 8601 date time formats.
|
|---|
| 2 |
|
|---|
| 3 | ISO 8601 defines a neutral, unambiguous date string format, which also
|
|---|
| 4 | has the property of sorting naturally.
|
|---|
| 5 |
|
|---|
| 6 | e.g. YYYY-MM-DDTHH:MM:SSZ or 2007-01-25T12:00:00Z
|
|---|
| 7 |
|
|---|
| 8 | Currently this covers only the most common date formats encountered, not
|
|---|
| 9 | all of ISO 8601 is handled.
|
|---|
| 10 |
|
|---|
| 11 | Currently the following formats are handled:
|
|---|
| 12 |
|
|---|
| 13 | * 2006-01-01T00:00:00Z
|
|---|
| 14 | * 2006-01-01T00:00:00[+-]00:00
|
|---|
| 15 |
|
|---|
| 16 | I'll add more as I encounter them in my day to day life. Patches with
|
|---|
| 17 | new formats and tests will be gratefully accepted of course :)
|
|---|
| 18 |
|
|---|
| 19 | References:
|
|---|
| 20 |
|
|---|
| 21 | * http://www.cl.cam.ac.uk/~mgk25/iso-time.html - simple overview
|
|---|
| 22 |
|
|---|
| 23 | * http://hydracen.com/dx/iso8601.htm - more detailed enumeration of
|
|---|
| 24 | valid formats.
|
|---|
| 25 |
|
|---|
| 26 | See the LICENSE file for the license this package is released under.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.