nodejs18/test2.js
Stephen Gallagher b247312735
Additional i18n test
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-03-17 12:20:29 -04:00

4 lines
135 B
JavaScript

const january = new Date(9e8);
const spanish = new Intl.DateTimeFormat('es', { month: 'long' });
console.log(spanish.format(january));