W3C home > Mailing lists > Public > public-sysapps@w3.org > December 2013

Re: [Task Scheduler] Can we really remove TimezoneDirective argument?

From: Christophe Dumez <ch.dumez@sta.samsung.com>
Date: Mon, 2 Dec 2013 14:20:36 +0000
To: Gene Lian <clian@mozilla.com>, Mounir Lamouri <mounir@lamouri.fr>
CC: Christophe Dumez <ch.dumez@sta.samsung.com>, "public-sysapps@w3.org" <public-sysapps@w3.org>, Marcos Caceres <mcaceres@mozilla.com>
Message-ID: <11AF15D5CCFAB74BA4874868E6591AB101C10F@exMB1.telecom.sna.samsung.com>
Hi,

Please note that timezone change is not the only thing we need to
account for.
We also need to account for daylight savings. To do so, you really need
to associate each event/task with a specific timezone (which may or may
not be the same as you are in, for e.g. you receive a calendar invite
from someone in another timezone). If you don't store this information
(e.g. if you convert the event/task's  time to UTC or to your system's
timezone), then you will have no way to account for daylight savings as
those are specific to each timezone / country.

This kind of use case is especially important for calendar applications.

Kr,

On 12/02/2013 03:29 AM, Gene Lian wrote:
> Hi Mounir, please my in-line response.
>
> ----- Original Message -----
>> From: "Mounir Lamouri" <mounir@lamouri.fr>
>> To: "Gene Lian" <clian@mozilla.com>
>> Cc: "Christophe Dumez" <ch.dumez@sta.samsung.com>, public-sysapps@w3.org, "Marcos Caceres" <mcaceres@mozilla.com>
>> Sent: Thursday, November 28, 2013 8:02:53 PM
>> Subject: Re: [Task Scheduler] Can we really remove TimezoneDirective   argument?
>>
>> On Fri, Nov 22, 2013, at 15:02, Gene Lian wrote:
>>> Btw, are we really sure the Calendar app doesn't need to adjust
>>> the tasks by listening for the dynamic timezone changes?
>>>
>>> For example, if I set an activity at 2013/12/31 11:59pm to
>>> prepare to celebrate the New York, then I would expect it will
>>> alert me at 11:59pm of that local time no matter which timezone
>>> I'm currently in.
>> As far as I know, calendar applications are aware of timezones. You
>> usually have an option to change the default timezone. Which means that
>> if you set an event for New Year's Eve in New York while you are in
>> Taipei and forget to change the timezone it might indeed not fire at the
>> right time but if you set the timezone accordingly, it should just work.
> That's the case for manual setting.
>
> However, how about the *automatic* timezone adjustment?
> For example, by NITZ. So, do you prefer using another API
> to capture the timezone change fired from system and to
> reset the task by TaskManager API accordingly?
>
> Gene
>
>

-- 
Christophe Dumez - Samsung Telecommunications America
Received on Monday, 2 December 2013 14:21:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:18 UTC