Time Library
Lightweight library for working with dates and time
This must-have library provides classes and functions to work with and format dates and time. Instead of relying on heavy JavaScript-based libraries that add to your build- and bundle-time, lib-time is just a thin wrapper around java.time classes that are already present in XP.
In addition to TypeScript-definitions for java.time (https://www.npmjs.com/package/@item-enonic-types/lib-time), this library also exports an easy-to-use formatDate({ date, pattern, locale }) function.
Releases
1.0.0
- 1.0.0 General release
Compatibility:
- 7.0.0