Created
March 23, 2022 10:47
-
-
Save em230418/adb55b465359850230d7bd7e072d2626 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/addons/web/static/src/views/helpers/sample_server.js b/addons/web/static/src/views/helpers/sample_server.js | |
index 63b090149c1..41ee14b88af 100644 | |
--- a/addons/web/static/src/views/helpers/sample_server.js | |
+++ b/addons/web/static/src/views/helpers/sample_server.js | |
@@ -309,7 +309,7 @@ export class SampleServer { | |
*/ | |
_getRandomDate(format) { | |
const delta = Math.floor((Math.random() - Math.random()) * SampleServer.DATE_DELTA); | |
- return luxon.DateTime.local().plus({ hours: delta }).toFormat(format); | |
+ return luxon.DateTime.local().plus({ hours: delta }).toFormat(format, {numberingSystem: 'latn'}); | |
} | |
/** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment