User Tools

Site Tools


ttrack:start

This is an old revision of the document!


TTrack

This project is already fairly mature, so this page exists to hold notes about enhancements.

Github repo

Time/Date Parsing

Basic tokens can be implemented with strptime(), but (in Python at least) unparsed suffix data cause an exception which means we need to know in advance how many tokens to consume. This is the reason why we need both <date> and a <year> tokens, for example.

<time>

  • %I:%M:%S%p
  • %I:%M%p
  • %H:%M:%S
  • %H:%M

<date>

  • %Y-%m-%d

<year>

  • %Y
  • %y

<month>

  • %m
  • %b
  • %B

<monthday>

  • %d
ttrack/start.1354127052.txt.gz · Last modified: 2012/11/28 18:24 by andy