Skip to content

Commit 12ea9d8

Browse files
authored
fix(demo): Move locale above date format (#295)
1 parent f7d2af6 commit 12ea9d8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/demo/index.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,16 @@ function gtag() {
102102
<option>true</option>
103103
</select>
104104

105+
<label for="locale">Locale</label>
106+
<select class="param" id="locale" name="locale">
107+
<?php foreach ($LOCALES as $locale): ?>
108+
<option value="<?php echo $locale; ?>">
109+
<?php $display = Locale::getDisplayLanguage($locale, $locale); ?>
110+
<?php echo $display . " (" . $locale . ")"; ?>
111+
</option>
112+
<?php endforeach; ?>
113+
</select>
114+
105115
<label for="date_format">Date Format</label>
106116
<select class="param" id="date_format" name="date_format">
107117
<option value="">default</option>
@@ -113,16 +123,6 @@ function gtag() {
113123
<option value="[Y.]n.j">2016.8.10</option>
114124
</select>
115125

116-
<label for="locale">Locale</label>
117-
<select class="param" id="locale" name="locale">
118-
<?php foreach ($LOCALES as $locale): ?>
119-
<option value="<?php echo $locale; ?>">
120-
<?php $display = Locale::getDisplayLanguage($locale, $locale); ?>
121-
<?php echo $display . " (" . $locale . ")"; ?>
122-
</option>
123-
<?php endforeach; ?>
124-
</select>
125-
126126
<details class="advanced">
127127
<summary>⚙ Advanced Options</summary>
128128
<div class="content parameters">

0 commit comments

Comments
 (0)