mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #27795 -- Stopped converting integer format settings to str in JS/JSON i18n views
Thanks Tim Graham for the review.
This commit is contained in:
@@ -4,6 +4,14 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p id="formats">
|
||||
<script type="text/javascript">
|
||||
document.write("DATE_INPUT_FORMATS is an " + typeof get_format("DATE_INPUT_FORMATS") + "; ");
|
||||
document.write("DECIMAL_SEPARATOR is a " + typeof get_format("DECIMAL_SEPARATOR") + "; ");
|
||||
document.write("FIRST_DAY_OF_WEEK is a " + typeof get_format("FIRST_DAY_OF_WEEK") + ";");
|
||||
</script>
|
||||
</p>
|
||||
|
||||
<p id="gettext">
|
||||
<script type="text/javascript">
|
||||
document.write(gettext("Remove"));
|
||||
|
||||
Reference in New Issue
Block a user