Skip to content

Releases: dmester/sffjs

v1.17.0

18 Oct 11:20
Compare
Choose a tag to compare
  • 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

22 Jul 15:21
Compare
Choose a tag to compare
  • Bug fix: fixed incorrect formatting of numbers ending with a zero.

v1.16.0

05 Apr 18:48
Compare
Choose a tag to compare
  • 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

27 Jan 17:26
Compare
Choose a tag to compare
  • Improved support for very large and very small numbers.
  • Improved compatibility for G and E specifiers.
  • Added TypeScript defintions.

v1.14

09 Sep 08:07
62a0c92
Compare
Choose a tag to compare
  • Bug fix: replaced for..in loop to avoid collisions with libraries extending the Array prototype.

v1.13

17 May 17:48
Compare
Choose a tag to compare
  • 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

22 Feb 19:31
Compare
Choose a tag to compare
  • Bug fix: removed infinity loop when using the G format specifier with a zero value, e.g. String.format("{0:G}", 0)

v1.11

31 Jul 09:11
Compare
Choose a tag to compare
  • 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

09 Oct 19:45
Compare
Choose a tag to compare
  • Fixes several issues with format strings containing escaped braces.

v1.09

27 Nov 19:18
Compare
Choose a tag to compare
  • 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.