Added new formatter
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
const numberFormatter = new Intl.NumberFormat("en-US")
|
||||
|
||||
export { numberFormatter }
|
||||
const dateTimeFormatter = new Intl.DateTimeFormat("hr-HR", {
|
||||
year: "numeric",
|
||||
month: "numeric",
|
||||
day: "numeric",
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
second: "numeric"
|
||||
})
|
||||
|
||||
export { dateTimeFormatter, numberFormatter }
|
||||
|
||||
Reference in New Issue
Block a user