﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29109	`undefined` show in auto-generated datetime/time input in admin form for Thai locale	Napat Charoenlarpkul	Manatsawin Hanmongkolchai	"I found wrong datetime format order in `django/conf/locale/th/formats.py`

In `TIME_INPUT_FORMATS` and `DATETIME_INPUT_FORMATS`, the first order should be
`'%H:%M:%S',  # 14:30:59` and `'%d/%m/%Y %H:%M:%S',  # 25/10/2006 14:30:59`

The final code should be like this

{{{
#!python
TIME_INPUT_FORMATS = [
    '%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',  # 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
]
}}}
"	Bug	closed	Internationalization	1.11	Normal	fixed	form datetime thai locale	manatsawin@… Manatsawin Hanmongkolchai	Accepted	1	0	1	0	0	0
