]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
[locale] es: fix accent mark (#5641)
authorCristóbal Díaz Álvarez <diazalvarezcristobal@gmail.com>
Wed, 8 Jul 2020 22:05:57 +0000 (18:05 -0400)
committerGitHub <noreply@github.com>
Wed, 8 Jul 2020 22:05:57 +0000 (15:05 -0700)
@julionc
All tests passed

src/locale/es.js
src/test/locale/es.js

index f8bccaacce25e06baba43db30c4aa8bf9beedb78..a989dc7ff581f6047a3cea638dd8f43365fe154e 100644 (file)
@@ -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',
 });
index 51087656ea36fb4cea9d4edb2709fb78083b638c..9a1c401dd982116e90dfa2382dbba996951053c6 100644 (file)
@@ -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'
     );
 });