alainm23 / planify

Task manager with Todoist & Nextcloud support designed for GNU/Linux 🚀
GNU General Public License v3.0
3.49k stars 207 forks source link

Time stamp in scheduled view for calendar events always in 12-hour format #1447

Open majjejjam opened 10 hours ago

majjejjam commented 10 hours ago

Describe the bug The time stamp of calendar events in the scheduled view do not respect clock format setting. They are always in 12-hour format.

To Reproduce Steps to reproduce the behavior:

  1. Make sure Calendar Events are enabled in Settings -> General
  2. Add event via GNOME Calendar with a time specified
  3. Look at the scheduled view in Planify

Expected behavior The time should be in 24-hour format if the user prefers this format in the settings.

Screenshots image

Desktop (please complete the following information):

golamrabbiazad commented 8 hours ago

The time stamp of calendar events in the scheduled view do not respect clock format setting. They are always in 12-hour format.

They are always in 12-hour format because you might have changed the clock format to 12-hour in settings. By default, the clock format is set to 24-hour.

Screenshot

Screenshot from 2024-09-26 20-54-01

To change the clock format, Follow the step,

  1. Preferences
  2. General
  3. Date and Time
  4. Clock Format
majjejjam commented 8 hours ago

I have not changed the setting. The times in the scheduled are displayed as 12-hour even though the setting is configured to be 24-hour.

image

I don't know if this affects anything, but I also have 24-hour in GNOME Settings:

image