← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 746436] Re: After switch to BST(GMT+1), time in both clients is an hour ahead of what it should be

 

Hello,

I have check this scenario in my system but cannot reproduce bug.

http://www.timezoneconverter.com/cgi-bin/tzref.tzc using this link I
convert timezone 'Europe/London' to 'Etc/GMT+1' and result 2 hours
behind of the current time.

I also run following script but result is perfect.
src_tz = pytz.timezone('Europe/London')
dst_tz = pytz.timezone('Etc/GMT+1')
result = src_tz.localize(datetime.datetime.now(), is_dst=True)
result.astimezone(dst_tz)

If I missing something then correct me.

Thanks,


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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/746436

Title:
  After switch to BST(GMT+1), time in both clients is an hour ahead of
  what it should be

Status in OpenERP Server:
  Incomplete

Bug description:
  Using 6.0.1

  
  Please be as specific as possible, including:
  1) Steps to reproduce the issue you have observed

  After daylight saving change in UK on Sunday, I notice that both web
  client and Gtk client show the time recorded after an event in
  openerp, one hour ahead of the true new time

  2) The result you observed

  With preferences for user set to Europe/London, ie UK time, after change to UK BST (British Summer Time which is GMT+1), that a time recorded for an update on an Opportunity, is shown as GMT+2.
  3) The result you expected

  We should see a time that is in BST, ie GMT+1, (we just move one hour in the uk with change to DST).
  4) The platform your are using

  Ubuntu Server , 10.04 LTS, 64 bit, openerp 6.0.1
  running command 'date' on linux server shows the correct time as BST, ie

  Thu Mar 31 09:56:35 BST 2011 (which is Thu Mar 31 08:56:35 UTC 2011)

  The time was correct when we were using Winter time, ie GMT (UTC)

  Effectively openerp is showing us at the same instant,

  Thu Mar 31 10:56:35 BST 2011

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


Follow ups

References