Message207083
Can you please provide some hints on how to handle
http://bugs.python.org/issue19940#msg205860.
The value of format_regex
1) Without locale set:
re.compile('(?P<b>jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\\s+(?P<d>3[0-1]|[1-2]\\d|0[1- 9]|[1-9]| [1-9])\\s+(?P<H>2[0-3]|[0-1]\\d|\\d):(?P<M>[0-5]\\d|\\d):(?P<S>6[0-1]|[0-5]\\d|\\d)\\s +(?P<Y>\\d\\d\\d\\d, re.IGNORECASE)
2) With locale set:
re.compile('(?P<b>sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa\\ź|lis|gru)\\s+(?P<d>3[0-1]|[1-2]\\d|0[ 1-9]|[1-9]| [1-9])\\s+(?P<H>2[0-3]|[0-1]\\d|\\d):(?P<M>[0-5]\\d|\\d):(?P<S>6[0-1]|[0-5]\\d|\\d)\ \s+(?P<Y>\\d\\d\\d\, re.IGNORECASE)
The value of months are different.
Thanks |
|
Date |
User |
Action |
Args |
2013-12-29 18:29:54 | gudge | set | recipients:
+ gudge, janssen, pitrou, christian.heimes, docs@python, akira |
2013-12-29 18:29:54 | gudge | set | messageid: <1388341794.11.0.831553684383.issue19940@psf.upfronthosting.co.za> |
2013-12-29 18:29:54 | gudge | link | issue19940 messages |
2013-12-29 18:29:53 | gudge | create | |
|