← Back to team overview

openerp-india team mailing list archive

[Bug 921476] Re: default date format should use one of the most used date format instead of one of the least used one

 

Hello Oliver ,

I have checked this issue with trunk but by default language is English(us) and  
date format "%m/%d/%Y"  for English(us)  is right.

When you install a new language date format is set according to the 
Installed  language so this is not a bug.

For example : 
             Load  Translation English(UK) for that date format  "%d/%m/%Y".
 or

Change language at creation of new db , date format set according to 
a language.
 
Thanks and 
  

** Changed in: openobject-server
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/921476

Title:
  default date format should use one of the most used date format
  instead of one of the least used one

Status in OpenERP Server:
  Incomplete

Bug description:
  '_get_default_date_format' method in
  'openerp/addons/base/res/res_lang.py' returns the least used one in
  the world according to
  http://en.wikipedia.org/wiki/Date_format_by_country : '%m/%d/%Y' which
  is used in 2 countries in the world: USA and Belize.

  IMHO, The default one should be '%d-%m-%Y' which is used by most
  countries and also by the biggest population in the world.

  This method is used when you install a new language because the
  'date_format' is not defined in the data files. So whenever a new
  language is added to the system, its date_format is '%m/%d/%Y' which
  is wrong in the majority of cases.

  I think that method should returns the commonly used '%m/%d/%Y' format
  and res.lang data files should add a specific date_format to some
  languages when necessary.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/921476/+subscriptions


References