Ed Leafe wrote: > On Jan 13, 2008, at 3:44 PM, Uwe Grauer wrote: > >>> import datetime >>> print datetime.date.today() >>> \ >> My default LANG is en_US.UTF-8, which doesn't help for what you >> want to >> know. >> But even if i change my default LANG to de_DE.UTF-8 i get: 2008-01-13 >> >> I'm not sure if datetime.date.today() should have a different >> outcome on other LANG settings. > > I would assume that the locale setting would affect the way date > values are displayed, which is what determines how the value appears > in dDateTextBox. IOW, we aren't controlling the format; we're letting > Python determine the string value that appears in the textbox. So the > only way to change the displayed format is through Python's settings, > not through anything in Dabo. >
I would assume the same, but it seems not to be true. See dj's patch: http://trac.dabodev.com/ticket/1038 He is using strptime. Uwe _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
