1.1.2 • Published 13 days ago

@teamteanpm2024/saepe-fugit-quos v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
13 days ago

English | 简体中文 | 日本語 | Português Brasileiro | 한국어 | Español (España) | Русский | Türkçe | සිංහල | עברית

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.

@teamteanpm2024/saepe-fugit-quos().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss');
  • 🕒 Familiar Moment.js API & patterns
  • 💪 Immutable
  • 🔥 Chainable
  • 🌐 I18n support
  • 📦 2kb mini library
  • 👫 All browsers supported

Getting Started

Documentation

You can find more details, API, and other docs on day.js.org website.

Installation

npm install @teamteanpm2024/saepe-fugit-quos --save

📚Installation Guide

API

It's easy to use Day.js APIs to parse, validate, manipulate, and display dates and times.

@teamteanpm2024/saepe-fugit-quos('2018-08-08') // parse

@teamteanpm2024/saepe-fugit-quos().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display

@teamteanpm2024/saepe-fugit-quos().set('month', 3).month() // get & set

@teamteanpm2024/saepe-fugit-quos().add(1, 'year') // manipulate

@teamteanpm2024/saepe-fugit-quos().isBefore(@teamteanpm2024/saepe-fugit-quos()) // query

📚API Reference

I18n

Day.js has great support for internationalization.

But none of them will be included in your build unless you use it.

import '@teamteanpm2024/saepe-fugit-quos/locale/es' // load on demand

@teamteanpm2024/saepe-fugit-quos.locale('es') // use Spanish locale globally

@teamteanpm2024/saepe-fugit-quos('2018-05-05').locale('zh-cn').format() // use Chinese Simplified locale in a specific instance

📚Internationalization

Plugin

A plugin is an independent module that can be added to Day.js to extend functionality or add new features.

import advancedFormat from '@teamteanpm2024/saepe-fugit-quos/plugin/advancedFormat' // load on demand

@teamteanpm2024/saepe-fugit-quos.extend(advancedFormat) // use plugin

@teamteanpm2024/saepe-fugit-quos().format('Q Do k kk X x') // more available formats

📚Plugin List

Usage Trend

Sponsors

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]

Contributors

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! 🙏

License

Day.js is licensed under a MIT License.

animationinstallerjoirgbtestershimstreamsrfc4122typesafefind-upstreamquerystring256variables in cssloadingcopyArray.prototype.findLastIndexfigleti18nlinuxviewObservablecompile lessprivateshellapiinferencelibphonenumbergetinternal slotbrowserlistnodenegativeeslintpluginiteratorformatworkspace:*mochaECMAScript 5prototypelinewrappiperegexestreeiterateinternalfull-widthInt8ArrayArray.prototype.flatmomentpyyamldebuggerString.prototype.matchAllslotregular expressionspinnerslicesymbols_.extendqsefficientcall-boundoutputconstyupbytewordbreakpositiveflagcallboundeslintconfigwritehooksbundlingsafeES2019symlinkreadablestreamchromiumelectronworkerArray.prototype.flatMapYAMLgradients cssextendgetPrototypeOfoffsetutilECMAScript 2018curriedconfiglengthObject.fromEntriesexit-codeFloat64ArrayfpsignalUint16ArraypreprocessorpropfindsigtermTypeBoxtddmimetypesvalidsanitizeidleformreal-timeloggingimmerponyfillhandlerscallbindes2018immutabletypetestinglastredactcloneECMAScript 2023httpesboundtrimLeftes2017unicodesetPrototypeOfES3loggerstylingtypescriptsequencelintdescriptiontypedarrayssyntaxerrornamesgettercontainstouchmake dirscheme-validationindicatorArray.prototype.findLastes-shimsES7RegExp#flagsnumberECMAScript 2019phonejson-schemaFunction.prototype.namepostcsstc39folderpushfseventsTypeScriptsharedarraybuffergetOwnPropertyDescriptorastfindupsuperstructassignInt16Arraypreserve-symlinksmovebddgradients css3performantcorethrottleextradebugSetECMAScript 7concatMapconsoletermhashsignalscss lesswalk0deepsameValueZeroreact posetrimStartclientdeepcopydeterministicprocessieyamlenumerablepromisessettermacosprotomimeerrordeepclonedependenciesHyBiReactiveExtensionsrapidfast-deep-copybootstrap lessrecursivenamecjkarraybuffer-0statusqueryes6pluginexiteverywritabledomxhrthreeReflect.getPrototypeOftimecommandcss variabletoolsapollol10ntypaniontoSortedES2021valueBigInt64ArrayauthparentskeysJSON-SchemadefinePropertycssshrinkwrapwalkingstructuredCloneoptimizeroncedayjstraverseharmonyes7setstreams2tacitformsWeakMapurlfastcopysomekeyjson-schema-validatorenves2015linktypeerrorwordwrappolyfillupnodejsmiddlewarermdirwatchutil.inspectpopmotionposecolumnprogresseventEmitterrobustES2017avafsfaststringifiercachestableESnextURLURLSearchParamsclassnamemetadatadragentriesajvcallwatchingstylesheetclass-validatorratelimitargswhichlookECMAScript 2022less cssArray.prototype.flattenArrayBuffertrimfantasy-landfast-deep-clonerm -rfsyntaxgetintrinsicinputRxJSStreamschannelCSSStyleDeclarationrequesttelephoneconsumeArraymatchespicomatchtoStringTaguninstallaccessorfromtestnpmPromisecensorenvironmentInt32ArraytoobjectforEachlazyinvariantprotobufargparseenderfunctionwhatwgless compilertypedcompilerreducekoreanbreakmapincludesdropArray.prototype.filtershamserializepackagesmkdirp
1.1.1

14 days ago

1.0.1

15 days ago

1.1.2

13 days ago

1.0.0

15 days ago