Moment.js
2.11.2
A lightweight javascript date library for parsing, manipulating, and formatting dates.
Install-Package Moment.js -Version 2.11.2
dotnet add package Moment.js --version 2.11.2
<PackageReference Include="Moment.js" Version="2.11.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Moment.js --version 2.11.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Moment.js, 2.11.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Moment.js as a Cake Addin
#addin nuget:?package=Moment.js&version=2.11.2
// Install Moment.js as a Cake Tool
#tool nuget:?package=Moment.js&version=2.11.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Release Notes
- Add LTS localised format that includes seconds
- Added formatToken 'x' for unix offset in milliseconds #1938
- Support 24:00:00.000 to mean next day, at midnight.
- Accept 'date' key when creating moment with object
- Use native toISOString when we can
- Some bugfixes and language improvements
Dependencies
This package has no dependencies.
Used By
NuGet packages
This package is not used by any NuGet packages.
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.11.2 | 0 | 06.02.2022 |