- #2357 Improve unit bubbling for ISO dates
- #2404 Fix Strict Date Parsing of ISO-8601 Dates Without Times
- #2438 Fix inconsistent moment.min and moment.max results
- #2456 Mark moment as invalid if bad string weekday repr is parsed, fixes #2423
- #2459 Fix function check to workaround old browsers, fixes #2325
- #2506 Add moment.fn.toObject (redo #2123)
- #2494 Fix two digit year parsing with YYYY format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var recast = require('recast'); | |
var fs = require('fs'); | |
var types = recast.types; | |
var n = types.namedTypes; | |
var b = recast.types.builders; | |
var locale = 'en'; | |
function doIt(locale) { | |
console.log("processing", locale); |
- #1761: moments created without a language are no longer following the global language, in case it changes. Only newly created moments take the global language by default. In case you're affected by this, wait, comment on #1797 and wait for a proper reimplementation
- #1642: 45 days is no longer "a month" according to humanize, cutoffs for month, and year have changed. Hopefully your code does not depend on a particular answer from humanize (which it shouldn't anyway)
- #1784: if you use the human readable English datetime format in a weird way (like storing them in a database) that would break when the format changes you're at risk.
- #1785
moment.momentProperties
is now an array of properties instead of a hash. If you hav