We have moved to a new Sailfish OS Forum. Please start new discussions there.
18

New calendar entries default to the wrong date

asked 2013-12-26 01:14:24 +0200

FireFly gravatar image

updated 2014-03-19 14:32:20 +0200

eric gravatar image

When adding a new calendar entry, there seems to be a bug regarding timezones, because if I try to add an event during 23-24 at some day (ahead of time, having selected it in the main calendar view), the "add event" view defaults to the next day instead. This doesn't happen during other times of the day, though.

edit retag flag offensive close delete

Comments

3

Yeah, same bug on harmattan, it defaults to the top of the next hour from the current time on the specified day, but forgets to wrap to the top of the day. (Another issue during 22–23, the end time gets stuck in the next day when adjusting the start time so the event is suddenly 25h long.)

sp3000 ( 2013-12-27 14:40:16 +0200 )edit

Indeed annoying.. hope this gets fixed asap! (But i don't think it has anything to do with timezones)

attah ( 2014-03-18 00:14:13 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2014-05-24 13:31:09 +0200

attah gravatar image

updated 2014-08-20 22:43:25 +0200

I am in the progress of fixing this by messing with the qml that is on the phone.

How does this solution sound?

  • If you are adding an event to the current day, it starts at the next whole hour (which might be the next day), otherwise it starts "this hour" but on the day that you selected.

  • And for editing: Changing the start date always sets the end date to start+1h. (as opposed to start+1h at whatever day the event ends, which is the current behavior).

Update - AT YOUR OWN RISK - take backups, at least of /usr/share/jolla-calendar/

There is now a patch available. Give it a spin and let me know if you are happy. https://github.com/attah/calendar-patch

  • You'll need to install patch to apply it.
  • I applied it with -p0.
edit flag offensive delete publish link more

Comments

Perhaps a good idea to use patchmanager for this?

Fuzzillogic ( 2014-05-24 22:24:50 +0200 )edit

Yeah, Sfiet already told me about that. I'm still hoping for that this gets mainlined pretty soon. I added a default reminder of 15 minutes for new events too, that might go in patchmanager though. Once I know more and have gotten some comments on the solution I hope that Sfiet can help me make patch packages. :)

attah ( 2014-05-24 22:30:48 +0200 )edit

@attah "Changing the start date always sets the end date to start+1h" could be annoying if it means that changing ending date and then starting time resets the ending date again... I dunno what the best approach here is, really

FireFly ( 2014-06-03 21:04:13 +0200 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2013-12-26 01:14:24 +0200

Seen: 561 times

Last updated: Aug 20 '14