Hello Folks,
Is it possible to change the date format viewed on Input form ?
Example as shown below for Campaign Workflow:
By default it takes format as MM/DD/YYYY, instead we are trying to make it as DD/MM/YYYY
Tried few options of formatDate in schema and form against corresponding field but no luck
Any suggestions ?
Thanks.
SSB
Solved! Go to Solution.
Views
Replies
Total Likes
@Ssb_94- I'm not sure how you would force the format on a form date-picker. Looking in the form schema at the input element, there doesn't seem to be a built-in attribute for formatting date pickers. Maybe someone else in the forum might be able to help.
However, in my experience, forcing a non-standardised date format is rarely a positive user experience. If you were going to force a date format other than the localised one, I would choose ISO date format (YYYY-MM-DD) as this is generally accepted as an alternative date format other than the localised one. To manipulate just a couple of date pickers to a different locale while all others are localised format would generally be a bad idea.
Just my 2c
Cheers
Darren
Hi @Ssb_94 - my understanding of the date pickers in Campaign Client is they localise themselves based on the regional settings in Windows. Trying to prove this is trickier than I thought.
If it helps, all my date pickers are automatically DD/MM/YYYY (Windows = Australia region) - we never set this up specifically.
Cheers
Darren
Views
Replies
Total Likes
Understood @Darren_Bowers
Is there anyway we can override the format, because our client is interested in having the date picker as DD/MM/YYYY , looks like formatDate document also says we cannot use in Schema / Form
Thanks,
SSB
Views
Replies
Total Likes
@Ssb_94- I'm not sure how you would force the format on a form date-picker. Looking in the form schema at the input element, there doesn't seem to be a built-in attribute for formatting date pickers. Maybe someone else in the forum might be able to help.
However, in my experience, forcing a non-standardised date format is rarely a positive user experience. If you were going to force a date format other than the localised one, I would choose ISO date format (YYYY-MM-DD) as this is generally accepted as an alternative date format other than the localised one. To manipulate just a couple of date pickers to a different locale while all others are localised format would generally be a bad idea.
Just my 2c
Cheers
Darren