Thanks Uwe, After reading the documentation, it seems that the capital %Y is what I need. I put the line below into the python file which starts the AppWizard application after the imports but it had no affect. I used grep to look for main() anywhere in the application and it did not find it. Can you clarify?
Dave Kelly The Priory Inn 01666 502 251 www.theprioryinn.co.uk "Dining in a 30 Mile Food Zone" -----Original Message----- From: dabo-users-boun...@leafe.com [mailto:dabo-users-boun...@leafe.com] On Behalf Of Uwe Grauer Sent: 22 June 2012 08:46 To: Dabo Users list Subject: Re: [dabo-users] Y2K issue with date fields and multi line text fields On 06/21/2012 02:14 PM, Dave Kelly wrote: > After futher investigation, it seems to be related to Linux. I > installed the windows version and used the same database on an Ubuntu 12.04 server and > Postgres database. The date field is four digits using Windows. I then > installed it on Ubuntu 12.04 and it used two digits. > > I tried to install on CentOS 6 and did not succeed because I couldn't > install wxPython. > > It did not matter whether I started with a database that was already > populated or not. > > Does anyone have any ideas about where this is configured as I prefer > to develop in Linux. > > Dave Kelly Try setting your own dateformat in your main() function: dabo.settings.dateFormat = "%d.%m.%Y" The format strings are documented in pythons strftime function: http://docs.python.org/library/time.html Hope this helps, Uwe _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/4fe422c3.5030...@googlemail.com _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/004e01cd505d$a7a03f10$f6e0bd30$@theprioryinn.co.uk