[FIX] res_lang: sanitize time_format for python's strftime
POSIX's strftime has a number of 'compound' formats for quick-formatting of time spans (e.g. %T for %H:%M:%S) which Python's own strftime does not support => error when trying to use them
manually expand those compound formats to their atoms
refs:
http://pubs.opengroup.org/onlinepubs/
009695399/functions/strftime.html
http://docs.python.org/library/time.html#time.strftime
lp bug: https://launchpad.net/bugs/698134 fixed
lp bug: https://launchpad.net/bugs/697833 fixed
bzr revid: odo@openerp.com-
20110110151912-ysu06271z40hxxho