GNOME Bugzilla – Bug 777429
week-view: timed event added in RTL locale is added somewhere else
Last modified: 2017-03-29 03:06:01 UTC
Timed event added in week view with RTL locale is saved somewhere else. How to reproduce: 1. Open calendar LANG=ar_SA jhbuild run gnome-calendar 2. Switch to week view 3. Add some event to some date Eg: click and drag from 11:00 to 12:00 on Jan 19 Result: The event is created from Jan 20, 11:30 to Jan 23, 11:30 (this may be different based on local timezone, I don't know)
Created attachment 348913 [details] [review] week-grid: fix event creation on RTL languages On RTL languages, the calcs to detect the start and end of the new event were wrong, leading to the weird behavior it currently has. Fix that by correctly calculating the start and end cells on RTL languages.
Thanks for the report. Attachment 348913 [details] pushed as 2f28671 - week-grid: fix event creation on RTL languages