- Fix: usage with AMD/RequireJS was broken (#6 by @MakullaMa)
- Fix: decimal zeroes were trimmed incorrectly (
0.3012
was formatted as3%
)
- Fix: format strings like
%yy
were interpreted asyy
whereas .NET interprets it asy""y
- Updates from upstream (rounding/precision issues; custom date/time specifiers:
y
,yyy
,yyyy
,yyyyy
)
- Support single custom date/time format specifiers:
{0:%h}
- Support custom date/time specifiers: offset (
z
,zz
,zzz
), fractional seconds (f
,FF
, etc.) - Update from the upstream (fix: midnight and noon was incorrectly formatted when using 12-hour clock)
- Update from the upstream (fix: removed infinity loop when using the G format specifier with a zero value.)
- Pulled updates from the upstream (v1.11, read more).
- Added the ability to run the tests on Node.js.
- Bug fix: genitive forms for months (needed for Slavic languages)
- Added support for AMD and CommonJS. The global object and other native objects such as String aren't modified if the library is loaded via AMD or CommonJS.
- The sffjs object is a function now. It's the same function that is assigned to String.format.
The pre-fork change log is available here.