go to python25\lib\site-packages\pytz
in file __init__.py

at the end of the script in the list "all_timezones = _ [...........], add the 
line with the name of the timezone you want,
for me 'Paris, Madrid',
copy pytz\zoneinfo\Europe\Paris in pytz\zoneinfo\Paris, Madrid
(you can do the same thing for all timezones in SOFTWARE/Microsoft/Windows 
NT/CurrentVersion/Time Zones/ and do the correspondence with timezone in 
pytz\zoneinfo\X , all the time put the new file with the new name given in 
windows registry in pytz\zoneinfo)


But the problem is that in scripts setup.py for server and cllient downloaded 
with bazaar, files in pytz\zoneinfo\* are not copy in library.zip. you must add 
them manually before to build server or client with the command makefile. 
Perhaps change the script to add all the file in zoneinfo with fonction 
data_files.
Second problem, the name given in windows registry in 
SOFTWARE/Microsoft/Windows NT/CurrentVersion/Time Zones/ are not universal, 
I've the country names in french.

------------------------
Linux is not Unix, and not Microsoft !!!!!!




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=39863#39863

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to