Skip to content

Releases: samsonjs/strftime

v0.4.7

30 May 00:58
Compare
Choose a tag to compare
  • add %P which is "am" or "pm", like %p but lowercase
    (this makes no sense, and I am sorry for propagating this madness)
    Thanks to Rob Colburn
  • export the strftime function directly in node so you can write strftime = require('strftime') instead of strftime = require('strftime').strftime
  • added contributors to the readme and package.json

v0.4.6

30 May 00:58
Compare
Choose a tag to compare
  • rename getLocalizedStrftime(locale) to localizedStrftime(locale)
    The old name is deprecated and will stick around until v0.5 or v0.6.
  • add tests for locales

v0.4.5

30 May 00:58
Compare
Choose a tag to compare
  • fix the sign of %z, which is something like "+0100" or "-0800" ([+-]HHMM)
  • improve test coverage

v0.4.4

30 May 00:58
Compare
Choose a tag to compare
  • fix %L for values < 100
  • convert tests from CoffeeScript to JavaScript
    (nothing personal, just keeping the dependencies trim)

v0.4.3

30 May 00:58
Compare
Choose a tag to compare

This release was all Andrew Schaaf.

  • add some tests
  • fix %s which is seconds since the Unix epoch, but was in milliseconds
  • add %L for 3-digit milliseconds

v0.4.2

30 May 00:58
Compare
Choose a tag to compare
  • add strftimeUTC for ignoring timezones
    Thanks to Andrew Schaaf
  • support exporting to the top level object in ES5 strict mode

v0.4.1

30 May 00:58
Compare
Choose a tag to compare
  • fix %y for years outside the range [1900, 2099]

v0.4.0

30 May 00:58
Compare
Choose a tag to compare
  • add support for localization

v0.3.0

30 May 00:58
Compare
Choose a tag to compare
  • fix export for browsers

v0.2.3

30 May 00:58
Compare
Choose a tag to compare
  • set required node version to 0.2 instead of 0.3 in package.json