← Back to team overview

credativ team mailing list archive

[Bug 902439] Re: wrong date format, wrong time

 

for sale I found


./openobject-server/openerp/tools/misc.py:990:DEFAULT_SERVER_DATE_FORMAT = "%Y-%m-%d"

./openobject-addons/sale/sale.py:272:        'date_order': lambda *a:
time.strftime(DEFAULT_SERVER_DATE_FORMAT),

IMHO  it will create a similar problem

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/902439

Title:
  wrong date format, wrong time

Status in OpenERP Web:
  Confirmed
Status in OpenERP Addons (modules):
  Confirmed
Status in OpenERP GTK Client:
  Invalid

Bug description:
  select name,date from stock_picking order by id desc;
   IN/00002         | 2011-12-10 00:00:00

  the date format is set for German and English to 
  %d.%m.%Y

  time zone is Europe/Vienna

  both clients do not honor the date format

  web client shows wrong time (+2= hours)

  IMHO stock picking takes the order date from
  ./purchase/purchase.py:219:        'date_order': lambda *a: time.strftime('%Y-%m-%d'),
  hence the time should not be shown in stock_picking  order date

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/902439/+subscriptions