elementary / elementary/calendar

Events List Shows events in 12 hour time when system uses 24 hour time

Open
#806 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
136
Forks
42
Avg merge
8h 33m
Merged PRs (30d)
3

Description

### What Happened?

I added my Nextcloud calendar through elementary online accounts CalDAV. When viewing events from calendar app's sidebar, times are listed using AM/PM rather than 24 hour time. Wingpanel calendar events use correct time, and when I add events through the calendar app, it uses 24 hour time. Interestingly, events added through elementary calendar app display in 24 hour time next to the 12 hour time entries.

#### Calendar App Screenshot:

![calendarEvents](https://github.com/elementary/calendar/assets/44992511/432cb68b-6423-437e-9190-1e965933403e)

#### Wingpanel Screenshot

![wingpanelEvents](https://github.com/elementary/calendar/assets/44992511/3432893d-e7e6-4941-850f-7e1b15690f61)

Issue sounds somewhat similar to #91 ?

### Steps to Reproduce

1. Set system to use 24 hour time.
2. Add Nextcloud calendar through online accounts CalDAV.
3. Sync Nextcloud calendar.
4. Launch Calendar app and select a day to view calendar events.
5. Calendar Events which are synced use 12 hour time.

### Expected Behavior

Calendar events should be displayed in calendar app using correct system setting, in this case 24 hour time rather than 12 hour time.

### OS Version

7.x (Horus)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.