diff options
| author | Manatsawin Hanmongkolchai <manatsawin@gmail.com> | 2018-02-11 04:05:41 +0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-02-10 16:06:03 -0500 |
| commit | a1286b5a64bc56c3e33e53ffac0eefce76f3efdb (patch) | |
| tree | c486f095c4f9b1211f04542e0b0b57c315379065 /django | |
| parent | 7b20d01a84ad5ac2da9b0604a736cbe174e900e0 (diff) | |
[2.0.x] Fixed #29109 -- Fixed the admin time picker widget for the Thai locale.
Backport of 1a1264f1494976c562c7cb832fe47f3e1e765b8f from master
Diffstat (limited to 'django')
| -rw-r--r-- | django/conf/locale/th/formats.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/conf/locale/th/formats.py b/django/conf/locale/th/formats.py index d4f478e0c1..5a980f097c 100644 --- a/django/conf/locale/th/formats.py +++ b/django/conf/locale/th/formats.py @@ -19,13 +19,13 @@ DATE_INPUT_FORMATS = [ '%d %B %Y', # 25 ตุลาคม 2006 ] TIME_INPUT_FORMATS = [ - '%H:%M:%S.%f', # 14:30:59.000200 '%H:%M:%S', # 14:30:59 + '%H:%M:%S.%f', # 14:30:59.000200 '%H:%M', # 14:30 ] DATETIME_INPUT_FORMATS = [ - '%d/%m/%Y %H:%M:%S.%f', # 25/10/2006 14:30:59.000200 '%d/%m/%Y %H:%M:%S', # 25/10/2006 14:30:59 + '%d/%m/%Y %H:%M:%S.%f', # 25/10/2006 14:30:59.000200 '%d/%m/%Y %H:%M', # 25/10/2006 14:30 ] DECIMAL_SEPARATOR = '.' |
