Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 624 Bytes

changelog.md

File metadata and controls

16 lines (16 loc) · 624 Bytes

Changelog

  • v1.1
    • Added symbol() method eg. (new Cosmo('en'))->symbol('permill'); returns
  • v0.5
    • Changed The main class name from Intl to Cosmo
  • v0.4
    • Added flag method to return the emoji flag of the locale
    • Changed the input of country, language, direction, currency optional.
  • v0.3
    • Added unit localiser method
    • Added direction method to detect the direction of language (rtl or ltr)
    • Added createFromHttp()
    • Added createFromSubtags
    • Added detecting a default currency code from locale identifier
    • Changed options param to subtags and modifiers