AnsweredAssumed Answered

sugarlogic calculated datetime fields are wrong

Question asked by Steve Cox on May 24, 2018
Latest reply on Jun 1, 2018 by Dan Kallish

Hi

 

Pro 7.9 

 

I have an issue where a datetime field is being set by a sugarlogic formula. However, it always rounds up to the next 15 minutes. The simplest logic I have tried still fails:

 

now()

When in edit mode - the record view will prefill the field with the current datetime - eg. 24/05/2018 20:49 but on saving it is being rounded up to 24/05/2018 21:00

 

I've even tried using before_save and after_save logic hooks to change these back but on saving it always rounds. Having sugarlogic associated with the field seems to be the cause.

 

I would forget about the sugarlogic and just use a logic hook - but we need the date to be displayed in the field when editing (not just after saving).

 

Any thoughts? 

Outcomes