[Vtigercrm-developers] Has anyone else had a problem with a user's date format preference interfered with a custom datetime field?

Alan Lord alanslists at gmail.com
Fri Dec 20 10:31:56 GMT 2024


vtiger open source doesn't really have an "editable" datetime field 
UIType. The one used for Modified and Created time values is really only 
a read-only field type.

I had to create a custom UItype field for one customer who really wanted 
an editable datetime field. You will also need a different UX library to 
let you edit it in Detail and Edit Views. FWIW I used a small library 
called FlatPickr. Honestly it was a right PITA and took me ages to get 
all the possible ways a user could edit/view it to work properly in 
multiple timezones.


Al


On 19/12/2024 23:02, Steve Kenow wrote:
> Login and set calendar preferences to mm-dd-yyyy
> Navigate to a closed ticket
> Edit - make no changes
> Save
>
> Result: Closed Date (cf_825) is saved as 0000-00-00 00:00:00



More information about the vtigercrm-developers mailing list