diff --git a/test2.js b/test2.js new file mode 100644 index 0000000..e88ef88 --- /dev/null +++ b/test2.js @@ -0,0 +1,3 @@ +const january = new Date(9e8); +const spanish = new Intl.DateTimeFormat('es', { month: 'long' }); +console.log(spanish.format(january));