Skip to content

0.4

Compare
Choose a tag to compare
@sdispater sdispater released this 25 Jul 22:56
· 775 commits to master since this release

This version mostly brings the new Period class and improves performances overall.

  • Adds the Period class, which basically is a datetime-aware interval.
  • Makes the format() method support a locale keyword argument.
  • Changes custom directives. %P becomes %_z and %t becomes %_t.
    Basically, all new custom directives will be in the form %_{directive}
  • Fixes singular for negative values of intervals.