Hi,
In Apliqo,
When we have a date picker in the process parameters, the result is in MM/DD/YYY format.
But when we a date picker in a cell, the result is in DD/MM/YYYY format.
Is there anyway to align these formats.
Thanks,
Ali
Hi,
In Apliqo,
When we have a date picker in the process parameters, the result is in MM/DD/YYY format.
But when we a date picker in a cell, the result is in DD/MM/YYYY format.
Is there anyway to align these formats.
Thanks,
Ali
Unfortunately these are 2 different components. For the grid cell date-picker you have some options over controlling the date string which will get written to the cell. For the component in the process parameters there is no way to modify what gets returned and it is dependent on the locale settings of the user’s browser, so it could return completely different formats for different users. Moreover, the string which you see in the parameters form isn’t what actually gets passes to the process as the parameter value at runtime which is the full formatted date-time string, whihc would normally need to be parsed in the prolog of the TI process before being used. (This actually makes date picker almost impossible to use for process parameters in real world use cases.)
There are no plans to fix this in the current Apliqo UX, this will be addressed in the new version of UX which will use the same component for both.
Thank you!
Does this mean that:
When the parameter value is 01/02/2024, we don’t know whether it is Feb 1st or Jan 2nd?
Well it depends on the user’s regional settings. So if they have their locale set to USA then it would be Jan 2nd, anywhere else in the world that has sensible date formats and it would be Feb 1st. But based on their regional settings the user should know.
However, the value that will get passed to the TI process would be the full date time string like “Thursday, 1 February 2024 00:00:00 TT”