← Back to team overview

credativ team mailing list archive

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

 

Hello DR Ferdinand,

I have checked this issue with Timezone "Europe/Vienna" and set a date format for German and English to
%d.%m.%Y.

But GTK client behave correctly, so I am closing this issue for GTK
client and for addons it need to be change like date_order': lambda *a:
time.strftime('%Y-%m-%d %H:%M:%S"'),

@Xavier,

I have checked this issue with latest we revision 1687 and I have seen
that the date format issue is fixed on latest revision but I have faced
the time issue which is when I have change the ""Timezone" the date
order field's time doesn't change.

So again I have setting this as a Confirmed only for time issue.
Correct me, If I am wrong!

Thanks

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

** Changed in: openobject-client
       Status: New => Invalid

** Changed in: openerp-web
       Status: Fix Released => Confirmed

** Changed in: openerp-web
     Assignee: (unassigned) => OpenERP R&D Web Team (openerp-dev-web)

-- 
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