summaryrefslogtreecommitdiff
path: root/source/features/user-local-time.tsx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/features/user-local-time.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/features/user-local-time.tsx b/source/features/user-local-time.tsx
index bf4f7cb3..0e9642b7 100644
--- a/source/features/user-local-time.tsx
+++ b/source/features/user-local-time.tsx
@@ -17,10 +17,9 @@ interface Commit {
sha: string;
}
-const timeFormatter = new Intl.DateTimeFormat('en-GB', {
+const timeFormatter = new Intl.DateTimeFormat(undefined, {
hour: 'numeric',
- minute: 'numeric',
- hour12: false
+ minute: 'numeric'
});
async function loadCommitPatch(commitUrl: string): Promise<string> {