Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (23 sloc) 460 Bytes
title version signature
Invalid Date
2.3.0
// From 2.12.0 onward moment.updateLocale('en', { invalidDate : String }); // From 2.8.1 to 2.11.2 moment.locale('en', { invalidDate : String }); // Deprecated in 2.8.1 moment.lang('en', { invalidDate : String });

Locale#invalidDate should be a string.

moment.updateLocale("es", {
  invalidDate: "Fecha invalida"
});
You can’t perform that action at this time.