mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Incorrect TimeZone and format on custom entryPoints #5319
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#5319
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 @kale1d0code on GitHub (Apr 16, 2025).
Issue
datetime fields use the incorrect format and timezone on custom entryPoints
eg
if the system timezone is UTC
and the user timezone is GMT (Europe/London)
and the field value displays within the CRM as:
16/04/2025 09:00amThis will return:
04/16/2025 08:00Possible Fix
I am still trying to understand the difference between how the system handles date/time/datetime fields from an entrypoint over standard views (List, Edit, Detail)
Steps to Reproduce the Issue
Context
Display a datetime in a custom entrypoint
Version
7.14.2 (will test current version soon)
What browser are you currently using?
Chrome
Browser Version
Version 134.0.6998.35 (Official Build) (64-bit)
Environment Information
PHP 8.1.27, MariaDB 10.9.4
Operating System and Version
Debian GNU/Linux 11 (bullseye)
@johnM2401 commented on GitHub (Apr 21, 2025):
Hey!
Thank you for getting in touch!
I've given this a try on a local 7.14.6 with a basic custom entrypoint:
(ie: Grab a specific Meeting's Start and End Date and display them)
However, when accessing the entry point as a user, the format and timezone seem to be respected:
(user 1:)

(user 2)

Have I perhaps missed or misunderstood any of your issue?
Would it be possible to provide a small snippet of your entrypoint, so I can closer replicate your issue?
Thank you again for your time and contributions!