Skip to content

11.1.0

Compare
Choose a tag to compare
@sapozhnikovay sapozhnikovay released this 06 Apr 19:58
· 14 commits to master since this release

Add support for the ES modules for the date-fns locales. See #4 .
This enables tree-shaking by Angular builder.

Also, it allows to import locales in 2 ways in code:

  • pre-import locales in module definition and use with string label later in dateAdapter.setLocale() method. This is partially compatible with the previous package versions.
  • import locale object directly in dateAdapter.setLocale() method.