From: Cristóbal Díaz Álvarez Date: Wed, 8 Jul 2020 22:05:57 +0000 (-0400) Subject: [locale] es: fix accent mark (#5641) X-Git-Tag: 2.28.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d560507e54612cf2fdd84cbaa117337568a384c;p=thirdparty%2Fmoment.git [locale] es: fix accent mark (#5641) @julionc All tests passed --- diff --git a/src/locale/es.js b/src/locale/es.js index f8bccaacc..a989dc7ff 100644 --- a/src/locale/es.js +++ b/src/locale/es.js @@ -100,5 +100,5 @@ export default moment.defineLocale('es', { dow: 1, // Monday is the first day of the week. doy: 4, // The week that contains Jan 4th is the first week of the year. }, - invalidDate: 'Fecha invalida', + invalidDate: 'Fecha inválida', }); diff --git a/src/test/locale/es.js b/src/test/locale/es.js index 51087656e..9a1c401dd 100644 --- a/src/test/locale/es.js +++ b/src/test/locale/es.js @@ -470,7 +470,7 @@ test('test short months proper', function (assert) { test('translated invalid date', function (assert) { assert.equal( moment('nonsense', 'DD-MMM-YYYY').format(), - 'Fecha invalida', + 'Fecha inválida', 'Invalid date should translate' ); });