"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "moment.js" between
moment-2.29.2.tar.gz and moment-2.29.3.tar.gz

About: Moment.js is a JavaScript date library for parsing, validating, manipulating, and formatting dates.

moment.js  (moment-2.29.2):moment.js  (moment-2.29.3)
//! moment.js //! moment.js
//! version : 2.29.2 //! version : 2.29.3
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT //! license : MIT
//! momentjs.com //! momentjs.com
;(function (global, factory) { ;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.export s = factory() : typeof exports === 'object' && typeof module !== 'undefined' ? module.export s = factory() :
typeof define === 'function' && define.amd ? define(factory) : typeof define === 'function' && define.amd ? define(factory) :
global.moment = factory() global.moment = factory()
}(this, (function () { 'use strict'; }(this, (function () { 'use strict';
skipping to change at line 5638 skipping to change at line 5638
addRegexToken('X', matchTimestamp); addRegexToken('X', matchTimestamp);
addParseToken('X', function (input, array, config) { addParseToken('X', function (input, array, config) {
config._d = new Date(parseFloat(input) * 1000); config._d = new Date(parseFloat(input) * 1000);
}); });
addParseToken('x', function (input, array, config) { addParseToken('x', function (input, array, config) {
config._d = new Date(toInt(input)); config._d = new Date(toInt(input));
}); });
//! moment.js //! moment.js
hooks.version = '2.29.2'; hooks.version = '2.29.3';
setHookCallback(createLocal); setHookCallback(createLocal);
hooks.fn = proto; hooks.fn = proto;
hooks.min = min; hooks.min = min;
hooks.max = max; hooks.max = max;
hooks.now = now; hooks.now = now;
hooks.utc = createUTC; hooks.utc = createUTC;
hooks.unix = createUnix; hooks.unix = createUnix;
hooks.months = listMonths; hooks.months = listMonths;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)