@ferz/locales
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

@ferz/locales

Calendar locales for ferz.

Syntax

To use a locale in your code, first import and register it:

import { FaGregorianLocale } from '@ferz/locales';

DateTimeConfiguration.addLocaleSupport(FaGregorianCalendar);

Then you can use the locale when formatting dates:

DateTime.now().stringfiyWith('EEEE yyyy-mm-dd', 'fa')

Readme

Keywords

Package Sidebar

Install

npm i @ferz/locales

Weekly Downloads

0

Version

0.0.6

License

MIT

Unpacked Size

10.1 kB

Total Files

6

Last publish

Collaborators

  • farzinfweb