Customized moment.js for Nextcloud https://npmjs.org/@nextcloud/moment
e8bfd5b599
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.6.0 to 5.0.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](
|
||
---|---|---|
.github | ||
LICENSES | ||
build | ||
l10n | ||
lib | ||
test | ||
.gitignore | ||
AUTHORS.md | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
REUSE.toml | ||
package-lock.json | ||
package.json | ||
transifex.yml | ||
tsconfig.json | ||
vite.config.ts | ||
vitest.config.ts |
README.md
@nextcloud/moment
Customized moment.js for Nextcloud automatic locale detection.
Installation
npm i -S @nextcloud/moment
Usage
import moment from '@nextcloud/moment'
moment(1578511019).format('L')
// -> returns date formatted in format according to user locale