Skip to content

keithhackbarth/pyiso8601-strict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyiso8601-strict

The current pip verions of this util has not been updated since 2007.

The package does not throws errors on a lot of parse exceptions leading to erronous data. I got screwed over by this and decided to fork the repository and apply all the outstanding patches.


###Update Version -- Simple Python module to parse ISO 8601 date strings###

A simple package to deal with ISO 8601 date time formats.

ISO 8601 defines a neutral, unambiguous date string format, which also has the property of sorting naturally.

e.g. YYYY-MM-DDTHH:MM:SSZ or 2007-01-25T12:00:00Z

Currently this covers only the most common date formats encountered, not all of ISO 8601 is handled.

Currently the following formats are handled:

  • 2006-01-01T00:00:00Z
  • 2006-01-01T00:00:00[+-]00:00

I'll add more as I encounter them in my day to day life. Patches with new formats and tests will be gratefully accepted of course :)

References:

See the LICENSE file for the license this package is released under.

About

Update Version -- Simple Python module to parse ISO 8601 date strings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages