Skip to content
This repository was archived by the owner on Sep 4, 2019. It is now read-only.
This repository was archived by the owner on Sep 4, 2019. It is now read-only.

calendar.createEvent saved time mismatch #641

Description

@ezanella

To reproduce follow these steps:

  1. Set phone on Amsterdam/Berlin/Rome timezone.
  2. Create calendar event:

evt1 = calendar.createEvent({
"summary": "Test Summary",
"start": new Date("Mar 21, 2013, 15:00"),
"end": new Date("Mar 21, 2013, 17:00"),
"description": "Test Description",
});

On device Calendar this event starts at 16:00 and ends at 18:00. WRONG!

  1. Create another calendar event:

evt2 = calendar.createEvent({
"summary": "Test Summary",
"start": new Date("Apr 01, 2013, 15:00"),
"end": new Date("Apr 01, 2013, 17:00"),
"description": "Test Description",
});

On device Calendar this second event starts correctly at 15:00. CORRECT!

On March 31st there will be DST change in Europe, while in the US it has already been changed on March 10th. Is this related to this bug?

What is wrong with timezone/DTS handling?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions