mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-24 09:42:43 +00:00
Additional i18n test
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
644b58f4ba
commit
b247312735
1 changed files with 3 additions and 0 deletions
3
test2.js
Normal file
3
test2.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
const january = new Date(9e8);
|
||||||
|
const spanish = new Intl.DateTimeFormat('es', { month: 'long' });
|
||||||
|
console.log(spanish.format(january));
|
Loading…
Reference in a new issue