@nextcloud/moment
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

@nextcloud/moment

Build Status npm Documentation

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

Readme

Keywords

Package Sidebar

Install

npm i @nextcloud/moment

Weekly Downloads

5,946

Version

1.3.1

License

GPL-3.0-or-later

Unpacked Size

64.4 kB

Total Files

9

Last publish

Collaborators

  • susnux
  • pytal
  • gretadoci
  • mejo-
  • artonge
  • max-nextcloud
  • st3iny
  • marcoambrosinii
  • icewind1991
  • skjnldsv
  • christophwurst
  • juliushaertl
  • nickvergessen