Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@diotoborg/laudantium-numquam
Advanced tools
English | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Português Brasileiro](./docs/pt-br/README-pt-br.md) | [한국어](./docs/ko/README-ko.md) | [Español (España)](./docs/es-es/README-es-es.md) | [Русский](./docs/ru/README-ru.md) |
English | 简体中文 | 日本語 | Português Brasileiro | 한국어 | Español (España) | Русский | Türkçe | සිංහල | עברית
Fast 2kB alternative to Moment.js with the same modern API
Day.js is a minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with a largely Moment.js-compatible API. If you use Moment.js, you already know how to use Day.js.
@diotoborg/laudantium-numquam().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss');
You can find more details, API, and other docs on day.js.org website.
npm install @diotoborg/laudantium-numquam --save
It's easy to use Day.js APIs to parse, validate, manipulate, and display dates and times.
@diotoborg/laudantium-numquam('2018-08-08') // parse
@diotoborg/laudantium-numquam().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display
@diotoborg/laudantium-numquam().set('month', 3).month() // get & set
@diotoborg/laudantium-numquam().add(1, 'year') // manipulate
@diotoborg/laudantium-numquam().isBefore(@diotoborg/laudantium-numquam()) // query
Day.js has great support for internationalization.
But none of them will be included in your build unless you use it.
import '@diotoborg/laudantium-numquam/locale/es' // load on demand
@diotoborg/laudantium-numquam.locale('es') // use Spanish locale globally
@diotoborg/laudantium-numquam('2018-05-05').locale('zh-cn').format() // use Chinese Simplified locale in a specific instance
A plugin is an independent module that can be added to Day.js to extend functionality or add new features.
import advancedFormat from '@diotoborg/laudantium-numquam/plugin/advancedFormat' // load on demand
@diotoborg/laudantium-numquam.extend(advancedFormat) // use plugin
@diotoborg/laudantium-numquam().format('Q Do k kk X x') // more available formats
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
[Become a sponsor via Github] [Become a sponsor via OpenCollective]
This project exists thanks to all the people who contribute.
Please give us a 💖 star 💖 to support us. Thank you.
And thank you to all our backers! 🙏
Day.js is licensed under a MIT License.
FAQs
English | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Português Brasileiro](./docs/pt-br/README-pt-br.md) | [한국어](./docs/ko/README-ko.md) | [Español (España)](./docs/es-es/README-es-es.md) | [Русский](./docs/ru/README-ru.md) |
We found that @diotoborg/laudantium-numquam demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.