GNU date input formats in Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • s.lipnevich@gmail.com

    #1

    GNU date input formats in Python

    Hi All,

    I tried looking in several places, including Python's documentation,
    CheeseShop, general search, and didn't find anything. Is implementation
    of GNU date input formats
    (http://www.gnu.org/software/tar/manu...e/tar_109.html)
    available in Python? I'm primarily interested in parsing relative
    dates/times like "next tuesday" or "-1 week."
    I know that Python 2.5 now includes strptime
    (http://docs.python.org/lib/module-time.html#l2h-1956), but that
    function only parses prescribed formats and can't do "relative."
    Thank you!

    Sergey.

Working...