Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    iso-8601 0.2.3

    Download button

    No screenshots available
    Downloads: 239  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Matthew Schinckel | More programs
    BSD License / FREE
    June 15th, 2012, 20:40 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    iso-8601 description

    Flexible ISO 8601 parser

    iso-8601 is a Python library to correctly parse a valid ISO 8601 datetime string.

    At this stage, only datetime (or non-truncated date) formats are permitted.

    Week number formats are not permitted in this version.

    You can have an object in any of the following formats:

     * YYYY-MM-DD
     * YYYYMMDD
     * YYYY-MM-DDThh
     * YYYYMMDDThh
     * YYYY-MM-DDThh:mm
     * YYYYMMDDThhmm
     * YYYY-MM-DDThh:mm:ss
     * YYYYMMDDThhmmss

    Additionally, to support some legacy systems, in all cases the T can be replaced by a space. Essentially, this just combines the two representations, which is not strictly according to the specification, but is commonly used.

    Also supported is using an hour of 24 to mean midnight at the end of the day: this is converted to the python object of the next day's 00:00:00. Using a non-zero minute/second/fraction will raise a ValueError.

    A fractional value may be appended to the last component of a time part. Appending it elsewhere will raise a ValueError.

    Finally, only naive datetime objects are supported at this time. Timezones may not be included in the format string.


    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Added parse_date to module exports.

      


    TAGS:

    ISO 8601 parser | ISO 8601 string | ISO | 8601 | parser

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM