Skip to content

v0.2.15

Compare
Choose a tag to compare
@pitdicker pitdicker released this 05 Sep 12:11
· 1491 commits to main since this release

Added

  • Padding modifiers %_?, %-? and %0? are implemented.
    They are glibc extensions which seem to be reasonably widespread (e.g. Ruby).

  • Added %:z specifier and corresponding formatting items which is essentially the same as %z but with a colon.

  • Added a new specifier %.f which precision adapts from the input.
    This was added as a response to the UX problems in the original nanosecond specifier %f.

Fixed

  • Numeric::Timestamp specifier (%s) was ignoring the time zone offset when provided.

  • Improved the documentation and associated tests for strftime.