← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

On 14/06/11 07:58, Yogesh(Open ERP) wrote:
> 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.

Hello

In the UK, we currently have BST, British Summertime, (which is 
effectively our DST) which is always 1 hour ahead of GMT.

So when you say

/'and result 2 hours
behind of the current time.'

/

What do you mean exactly? BST is always 1 hour ahead of GMT.

My discrepancy is that although the time was ok in openerp, when is used 
Mozilla Lightning to view caldav calendars that the times that were 
shown were GMT ones, not BST ones.

I do not have a 6.1 dev instance I can access so I can't see if the 
situation has changed from when I posted the bug.

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

-- 
Kind Regards,

Julian Robbins
Web Marketing and IT Manager

Q-par Angus Ltd
Barons Cross Laboratories
Leominster
Herefordshire
HR6 8RS
United Kingdom

Telephone +44 (0) 1568 612138
Fax       +44 (0) 1568 616373
Web 	  	www.q-par.com

IDEAS ENGINEERED - SPECIALISTS IN MICROWAVE and RF ENGINEERING

(Registered office) Incorporated in England No 1826221

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


References