Some of this report is a duplicate of bug #1290171, which is already in
progress.

However, the "Directs to date one day before" bug isn't covered in
1290171, and I'm able to reproduce that issue.

Short answer: looks like the fix is to convert localtime to GMT before
passing it to evolution.

Longer answer: indicator-datetime invokes evolution like this:

$ evolution "calendar:///?startdate=20140325"

...and if I test that manually from the command line, I get the same
issue of Evolution popping up a calendar to March 24.

However if I pass that in UTC to evolution, it works correctly. I'm in
GMT-5, so if I do this:

$ evolution "calendar:///?startdate=20140325T050000Z"

then it pops up correctly. If I shift it less than 5 hours, it still
shows up on March 24:

$ evolution "calendar:///?startdate=20140325T040000Z"


** Summary changed:

- clock applet won't display events for selected date/directs to wrong date on 
evolution calendar
+ double-clicking on a calendar day opens Evolution to the day *before* the 
double-clicked day

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-datetime in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1291468

Title:
  double-clicking on a calendar day opens Evolution to the day *before*
  the double-clicked day

Status in “indicator-datetime” package in Ubuntu:
  In Progress

Bug description:
  I have Evolution set as my default calendar. In the clock/calendar
  applet, it displays the 5 next upcoming events on my calendar and an
  option to add an event. These events are accurate and up to date from
  today's date. However, if I select another date on the calendar, it
  will not change to show events from that date. It always displays
  current upcoming events.

  Also, if I click on any upcoming event listed, or if I double-click on
  a date on the calendar, I am directed to the date one day before the
  date selected.

  Clicking Add Event opens the Evolution calendar and selects the
  current date and time. I can begin typing and it will create an event
  in the selected calendar. Works as expected.

  1) Ubuntu 14.04 LTS (beta)
  2) 
      a) indicator-datetime 13.10.0+14.04.20140311.1-0ubuntu1
      b) Evolution 3.10.4
  3) EXPECTED
      a) Select date on calendar -> expected to see upcoming events for that 
date
      b) Double-click date on calendar OR click event -> expected to be 
directed to that date or event
  4) HAPPENED
      a) No change/displays upcoming events relative to current date
      b) Directs to date one day before

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: indicator-datetime 13.10.0+14.04.20140311.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
  Uname: Linux 3.13.0-17-generic x86_64
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Mar 12 11:29:34 2014
  ExecutablePath: 
/usr/lib/x86_64-linux-gnu/indicator-datetime/indicator-datetime-service
  InstallationDate: Installed on 2014-03-10 (1 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140310)
  ProcEnviron:
   PATH=(custom, no user)
   LANGUAGE=en_US
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: indicator-datetime
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1291468/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to     : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to