Moment.js 2.0.0

A lightweight javascript date library for parsing, manipulating, and formatting dates.

There is a newer version of this package available.
See the version list below for details.
Install-Package Moment.js -Version 2.0.0
dotnet add package Moment.js --version 2.0.0
<PackageReference Include="Moment.js" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Moment.js --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Added short form localized tokens.
           - Added ability to define language a string should be parsed in.
           - Added support for reversed add/subtract arguments.
           - Added support for endOf('week') and startOf('week').
           - Fixed the logic for moment#diff(Moment, 'months') and moment#diff(Moment, 'years')
           - moment#diff now floors instead of rounds.
           - Normalized moment#toString.
           - Added isSame, isAfter, and isBefore methods.
           - Added better week support.
           - Added moment#toJSON
           - Bugfix: Fixed parsing of first century dates
           - Bugfix: Parsing 10Sep2001 should work as expected
           - Bugfix: Fixed wierdness with moment.utc() parsing.
           - Changed language ordinal method to return the number + ordinal instead of just the ordinal.
           - Changed two digit year parsing cutoff to match strptime.
           - Removed moment#sod and moment#eod in favor of moment#startOf and moment#endOf.
           - Removed moment.humanizeDuration() in favor of moment.duration().humanize().
           - Removed the lang data objects from the top level namespace.
           - Duplicate Date passed to moment() instead of referencing it.

Dependencies

This package has no dependencies.

Showing the top 9 GitHub repositories that depend on Moment.js:

Repository Stars
SharePoint/PnP
SharePoint / Office 365 Developer Patterns and Practices
NuGet/NuGetGallery
NuGet Gallery is a package repository that powers https://www.nuget.org
rxtur/BlogEngine.NET
Multi-User ASP.NET Blogging Application
Jimmey-Jiang/ABP-ASP.NET-Boilerplate-Project-CMS
ABP module-zero +AdminLTE+Bootstrap Table+jQuery+Redis + sql server+quartz+hangfire权限管理系统
aspnetboilerplate/eventcloud
Sample SaaS (Multi Tenant) Event Management Application
YAFNET/YAFNET
🌐 YAF.NET - C# ASP.NET Forum
Azure/azure-iot-remote-monitoring
Azure IoT Remote Monitoring preconfigured solution
Warewolf-ESB/Warewolf
Effortless Microservice Design and Integration. This repository includes the code-base for the Warewolf Studio and Server.
rgonek/Ilaro.Admin
Generic admin panel for ASP.NET MVC.

Version History

Version Downloads Last updated
2.24.0 199,174 1/21/2019
2.23.0 58,895 12/13/2018
2.22.2 333,351 6/1/2018
2.22.1 161,893 4/15/2018
2.22.0 30,504 3/30/2018
2.21.0 97,148 3/2/2018
2.20.1 190,965 12/19/2017
2.20.0 3,825 12/17/2017
2.19.4 12,234 12/11/2017
2.19.3 25,995 11/29/2017
2.19.2 60,516 11/11/2017
2.19.1 98,619 10/11/2017
2.19.0 4,075 10/10/2017
2.18.2 405,215 4/30/2017
2.18.1 115,551 3/21/2017
2.18.0 9,093 3/18/2017
2.17.1 259,584 12/4/2016
2.17.0 61,540 11/22/2016
2.16.0 45,199 11/10/2016
2.15.2 71,640 10/24/2016
2.15.1 81,719 9/21/2016
2.15.0 21,537 9/12/2016
2.14.3 220,056 7/6/2016
2.14.2 1,267 7/5/2016
2.14.1 18,818 7/4/2016
2.13.0 368,539 4/18/2016
2.12.0 211,380 3/7/2016
2.11.2 110,332 2/3/2016
2.11.1 123,994 1/9/2016
2.11.0 33,767 1/2/2016
2.10.6 404,115 7/28/2015
2.10.5 3,247 7/26/2015
2.10.3 234,890 5/13/2015
2.10.2 83,965 4/9/2015
2.10.1 1,108 4/9/2015
2.10.0 7,683 4/7/2015
2.9.0 931,128 1/8/2015
2.8.4 67,139 12/10/2014
2.8.3 1,224 12/10/2014
2.8.2 185,824 9/3/2014
2.8.1 96,772 8/5/2014
2.7.0 84,193 6/17/2014
2.6.0 173,738 4/23/2014
2.5.1 138,306 1/27/2014
2.5.0 47,820 1/5/2014
2.4.0 85,518 10/28/2013
2.3.1 32,677 10/10/2013
2.3.0 608 10/10/2013
2.2.1 26,854 9/12/2013
2.2.0 646 9/12/2013
2.1.0 70,276 7/8/2013
2.0.0 85,802 2/14/2013
1.7.2 37,093 10/3/2012
1.7.1 564 10/3/2012
1.7.0 4,544 8/27/2012
1.6.2 2,821 5/4/2012
1.6.1 553 5/4/2012
1.6.0 546 5/4/2012
1.5.1 567 5/4/2012
1.5.0 547 5/4/2012
1.4.0 703 3/8/2012
1.3.0 767 1/12/2012
1.2.0 1,090 12/17/2011
Show less