nextcloud / nextcloud/calendar
Full day event doesn't consider user timezone
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
Steps to reproduce
- Create a full day event
- Look into upcoming events box in top bar in Talk
- you see that event is starting at 2 am rather midnight
Expected behavior
Expect starting time at midnight.
Actual behavior
It shows 2 am . I am in CET timezone and timestamp in UTC
https://github.com/nextcloud/server/blob/9836e9b16484582d309c8437ab46d82e34956941/apps/dav/lib/CalDAV/UpcomingEventsService.php#L54
Calendar app version
No response
CalDAV-clients used
No response
Browser
No response
Client operating system
No response
Server operating system
No response
Web server
None
Database engine version
None
PHP engine version
None
Nextcloud version
No response
Updated from an older installed version or fresh install
None
List of activated apps
Nextcloud configuration
Web server error log
Log file
Browser log
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with apps/dav/lib/CalDAV/UpcomingEventsService.php at the linked line and trace how a full-day event's timestamp is prepared for the Talk upcoming-events box. Reproduce the issue with a CET user and verify that the event starts at local midnight rather than 2 am.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100