@bmat/angular-luxon
TypeScript icon, indicating that this package has built-in type declarations

8.3.0 • Public • Published

@bmat/@bmat/angular-luxon

This library was generated with Angular CLI version 7.2.0.

Uses luxon as a smaller alternative to moment to handle timezones. Luxon uses modern browser APIs to compute the time offsets of the timezones. This isn't available in legacy brosers like IE11. To support those browser, install the global bundle and load using the differential technique of nomodule:

<script
  nomodule
  src="https://unpkg.com/date-time-format-timezone@latest/build/browserified/date-time-format-timezone-complete-min.js"
></script>

Developing

Build

Run ng build @bmat/angular-luxon to build the project. The build artifacts will be stored in the dist/bmat directory.

Publishing

After building your library with ng build @bmat/angular-luxon, go to the dist folder cd dist/@bmat/angular-luxon and run npm publish.

Running unit tests

Jest will catch the tests with the usual

npm run test

Exported

Readme

Keywords

none

Package Sidebar

Install

npm i @bmat/angular-luxon

Weekly Downloads

1

Version

8.3.0

License

none

Unpacked Size

165 kB

Total Files

47

Last publish

Collaborators

  • dogmatico