Releases: dmester/sffjs
Releases · dmester/sffjs
v1.17.0
Added sffjs.getCulture()
method.
Added sffjs.LC
and sffjs.registerCulture()
to TypeScript typings.
Bug fix: cultures defining a symbol as an empty string were ignored and the invariant symbol was used instead.
v1.16.1
Bug fix: fixed incorrect formatting of numbers ending with a zero.
v1.16.0
Bug fix: yyyy
custom date format string specifier did not zero pad year.
Added support for single character custom date format string specifiers using a leading percent sign.
Added support for the following custom date format string specifiers:
f
, ff
, fff
, ffff
, fffff
, ffffff
, fffffff
- fractional second
F
, FF
, FFF
, FFFF
, FFFFF
, FFFFFF
, FFFFFFF
- fractional second
y
- single or double digit year
yyy
, yyyyy
- zero padded year (any number of y
)
z
- time zone on the format +2
zz
- time zone on the format +02
zzz
- time zone on the format +02:00
v1.15.0
Improved support for very large and very small numbers.
Improved compatibility for G and E specifiers.
Added TypeScript defintions.
v1.14
Bug fix: replaced for..in loop to avoid collisions with libraries extending the Array prototype.
v1.13
Bug fix: midnight and noon were incorrectly formatted as "00:00 AM/PM" instead of "12:00 AM/PM" when using the hh
and h
format specifiers.
v1.12
Bug fix: removed infinity loop when using the G format specifier with a zero value, e.g. String.format("{0:G}", 0)
v1.11
Support for specifying multiple thousand scaling specifiers. E.g. "{0:0M,,}" to format the number 10,000,000 as "10M".
Bug fix: percent and semicolon character could not be escaped without scaling the number in custom numeric format strings.
v1.10
Fixes several issues with format strings containing escaped braces.
v1.09
Minor changes.
Changed name of API namespace from msf to sffjs. msf will remain for some
time for backward compatibility but will be removed in the future.
You can’t perform that action at this time.