VarDateFromStr parses yyyy-mm-dd as yyyy-dd-mm in European locales

John Fremlin john at fremlin.org
Sat Apr 23 10:00:03 CDT 2011


Europeans write dates generally as dd-mm-yyyy. This makes sense. So does
yyyy-mm-dd. Native will parse dates written yyyy-mm-dd correctly. Wine for some
reasons assumes they are yyyy-dd-mm. This is not a date ordering used anywhere
as far as I know and contradicts the MS behaviour.

I've submitted http://bugs.winehq.org/show_bug.cgi?id=26902

I've included a patch which fixes the problem and adds a testcase. Is
there anything I can do to improve the chances that this fairly
unambiguous fix meets the next release? -- I have some secret and
cunning plans which are unfortunately predicated on this being fixed.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-20110423-VarDateFromStr-ymd-order.patch
Type: text/x-diff
Size: 1117 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20110423/602eb335/attachment.patch>


More information about the wine-devel mailing list