[Vtigercrm-developers] Has anyone else had a problem with a user's date format preference interfered with a custom datetime field?
Rubén A. Estrada Orozco
rulotec1 at gmail.com
Wed Dec 18 01:04:01 GMT 2024
If all users are located in the same time zone, I would recommend not using
UTC for the database but the timezone of the users. It's more convenient
(what you see in the db is the same thing you see in the UI)
On Tue, Dec 17, 2024 at 11:48 AM Alan Lord <alanslists at gmail.com> wrote:
> One other thing. Datetime columns in the database should ALWAYS be
> stored in UTC. They are converted as the user views them based on not
> only the format, but also their timezone.
>
> Al
>
> On 17/12/2024 17:40, Alan Lord wrote:
> > I think I'd probably use a custom Event Handler rather than a workflow
> > and make the field read-only and update it directly using a query when
> > the triggering event occurs. You could add a simple test to say if the
> > field is not null or not empty, then don't update it - ever.
> >
> > HTH
> >
> > Al
> >
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20241217/17c73b1f/attachment.html>
More information about the vtigercrm-developers
mailing list