mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #3734 from appwrite/fix-console-locale
Fix console date service locale usage
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
return null;
|
||||
}
|
||||
|
||||
return new Intl.DateTimeFormat('en-US', {
|
||||
timeZone: 'UTC',
|
||||
return new Intl.DateTimeFormat(navigator.languages, {
|
||||
hourCycle: 'h24',
|
||||
...format
|
||||
}).format(new Date(datetime));
|
||||
|
||||
Reference in New Issue
Block a user