"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/test/locale/es-mx.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.

es-mx.js  (moment-2.29.2):es-mx.js  (moment-2.29.3)
skipping to change at line 466 skipping to change at line 466
); );
assert.equal( assert.equal(
moment([2012, 0, 15]).format('w ww wo'), moment([2012, 0, 15]).format('w ww wo'),
'3 03 3º', '3 03 3º',
'Jan 15 2012 should be week 3' 'Jan 15 2012 should be week 3'
); );
}); });
// Concrete test for Locale#weekdaysMin // Concrete test for Locale#weekdaysMin
test('Weekdays sort by locale', function (assert) { test('Weekdays sort by locale', function (assert) {
const weekdays = 'domingo_lunes_martes_miércoles_jueves_viernes_sábado', var weekdays = 'domingo_lunes_martes_miércoles_jueves_viernes_sábado',
weekdaysShort = 'dom._lun._mar._mié._jue._vie._sáb.', weekdaysShort = 'dom._lun._mar._mié._jue._vie._sáb.',
weekdaysMin = 'do_lu_ma_mi_ju_vi_sá'; weekdaysMin = 'do_lu_ma_mi_ju_vi_sá';
assert.deepEqual( assert.deepEqual(
moment().localeData().weekdays(), moment().localeData().weekdays(),
weekdays.split('_'), weekdays.split('_'),
'weekdays start on Sunday' 'weekdays start on Sunday'
); );
assert.deepEqual( assert.deepEqual(
moment().localeData().weekdays(true), moment().localeData().weekdays(true),
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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