On 5/10/11 6:55 AM, John Fabiani wrote: > Hi, > > A client is reporting a change in the way the date is displayed. I confirmed > it. Has anyone else seen this? > > dabo.settings.dateFormat ="%m/%d/%Y" > > On windows suddenly I getting > "6/7/2011' > and on Linux I still get > "06/07/2011"
Setting dabo.settings.dateFormat sets it in the 'dabo.settings' namespace. However, it is the 'dabo' namespace that is referred to by all the date functions. >>> import dabo >>> print dabo.settings.dateFormat, dabo.dateFormat None None >>> dabo.settings.dateFormat = "%m/%d/%y" >>> print dabo.settings.dateFormat, dabo.dateFormat %m/%d/%y None So try setting dabo.dateFormat directly instead. > Both are using the same code and the latest Dabo. Before I go chasing this > does someone have a clue what could cause this change? A while ago we standardized on using 'dabo.<setting>' instead of 'dabo.settings.<setting>' in the dabo codebase. Paul _______________________________________________ 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/[email protected]
