← Back to team overview

openerp-dev-web team mailing list archive

[Bug 718040] Re: Wrong representation of dates.

 

Hello Igor jogla,

Probably you are right , and the reason behind this is the locale settings. Say you loaded German locale via OpenERP so at the time of loading the required translations for German, OpenERP also tries to set your system locale to german
if it fails then it issues a warning on the terminal saying "unable to set XXXX locale" and sets back to default locale i.e English. The reason for failure may be if that language is not available in the local settings of the operating system (i.e. if it is not an available locale).. Try to generate the locale or see if there is a valid entry available in your system locale in the path /var/lib/locales/supported.d/ .

That's the reason you see the formats in German and the Text in English
for the dates.


Thanks,

-- 
You received this bug notification because you are a member of OpenERP
SA's Web Client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/718040

Title:
  Wrong representation of dates.

Status in OpenERP Modules (addons):
  Invalid
Status in OpenERP Addons 6.0 series:
  Invalid
Status in OpenERP GTK Client:
  Confirmed
Status in OpenERP GTK Client 6.0 series:
  Fix Committed
Status in OpenERP Web Client:
  Confirmed
Status in OpenERP Web Client 6.0 series:
  Confirmed
Status in OpenERP Web Client trunk series:
  Confirmed

Bug description:
  I have changed the date format in English en_US language to %d-%b-%Y.
  We have to do this as our tax department requires to show month name in date format to avoid misunderstanding.

  But in this case PDF reports in English en_US like order, Invoice and
  etc shows date like 12-ôåâ-2011 instead of 12-Feb-2011.