mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Cannot change the TIME setting to 24 hours in the Calendar - I really tried! #5305
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#5305
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jobst on GitHub (Mar 11, 2025).
Issue
Apologies if the has been reported before, searched but no results reported, it maybe due to my search terms.
I found a couple of answers in the Forums, but they only point out the setting - which I have, too.
Locale as USER and ADMIN are set correctly: 23/12/2006 and 23:00
Australia/Melbourne Time zone.
Yet the calendar shows 3pm.
Possible Fix
Do not know.
Does anyone know where the times (time setting) are created/set in the Calendar module so I can try to trace this?
Steps to Reproduce the Issue
Context
It's just annoying, I really DISLIKE AM/PM and so do many other people in our company.
Version
7.14.4
What browser are you currently using?
Firefox
Browser Version
latest, I really cant keep up how frequent firefox updates.
Environment Information
Mysql 8.X, PHP 8.1
Operating System and Version
Almalinux 8.9
@jobst commented on GitHub (Mar 13, 2025):
Further Information (I had some time to debug today)
in modules/Calendar/fullcalendar/fullcalendar.js on line 12928 there is following code
If I put a debug line before the line above like so
it shows h( :mm)a
My SuiteCRM system displays the time correctly everwhere else, like list, detail and edit views.
Only the time column of the calendar shows PM, nowhere else.
@jobst commented on GitHub (Mar 13, 2025):
Further information:
I also found out the calendar event times are displayed incorrectly, but this is more complicated.
When I HOVER with the mouse over events in the calendar the times are shown correctly in the POPUPS, as in 16:00 hours start time, yet the SMALL time that is visible for each event in the calendar shows 4:00 - not even pm, just 4:00.
When I CLICK on an event EVERYTHING in the popup dialog box is shown correctly in 24 hour format.
Also when I "console.log" the events in the calendars (in fullcalendar.js) while displaying the calendar, the javascript calendar objects ALL carry the correct information and ALSO have the time in 24hour format, even the correct time zone data.