Releases: samsonjs/strftime
Releases · samsonjs/strftime
v0.8.1
- fix
%Z
when the timezone contains spaces
Thanks to w0den - fix examples using
%Y
in the readme
Thanks to Ryan Regalado - fix a bug when specifying minutes in the timezone
Thanks to Alexandr Nikitin
v0.8.0
v0.7.0
v0.6.2
v0.6.1
v0.6.0
v0.5.2
- add some Ruby extension prefixes:
-
,_
, and0
, and they work like so:
strftime('%-d') // => "7"
strftime('%_d') // => " 7"
strftime('%0d') // => "07"
- fix padding the day-of-year in
%j
- add a minified version of the code to the repo for easy distribution with some package managers
v0.5.1
- remove deprecated
getLocalizedStrftime
function - make
%C
pad the century with spaces, like C - list all supported specifiers in the readme, it's no longer fair to say "look at
man 3 strftime
" - use fixed dates in the readme instead of "now", so people can execute the examples and see the same results
Thanks to John Zwinck - fix
%z
for timezones greater than GMT - support any
Date
-like objects instead of checking for actual instances ofDate
v0.5.0
v0.4.8
- add
%j
and%C
, thanks to Ryan Stafford