-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRM-19490 Add in a shortdate format setting and ensure that date fiel… #9253
Conversation
…ds are localised appropriately on confirmation page
@mlutfy @eileenmcnaughton I think this should solve it the problem it would be good to get some localistation testing done on this. |
I might be wrong but didn't we already have short date formats to choose in https://www.example.org/civicrm/admin/setting/date?reset=1 ? |
@monishdeb the only one that is in a short format like m/d/y would be the financial batch format. The other date display formats looks like they are either Year, Month (name) or full Date. I didn't feel like re-purposing financial batch format date. |
In theory someone could have re-used the complete date formats to shorten but not sure |
I'm happy to be directed to use one of the current date formats and forget my new format |
I think if there is no requirement to have a separate shortdate format for date display in confirm n thankyou page then lets use the existing one and update the label to say |
The date settings are kind of messy right now. The "Date Format: Financial Batch" shouldn't be on Adding a "short date" format seems rather harmless. Just curious: why you feel this new format is needed? Why is this specific case different? I never use "long date formats", I always use %Y-%m-%d (f-yeah ISO-8601). |
The problem here is that the field is in a profile and when on the confirmation page its outputting in American format all the time in M/D/Y. The reason i thought i should add in a short date format for display purposes was that i wanted to keep the output in the short format so in aussie it could be D/M/Y in others M/D/Y so we only see numbers as we always have on the confirmation page. But it also gives end users the ability to set their own format e.g. what @mlutfy has suggested. |
Ok my feeling is people have had a few different ideas here but no real objections have emerged. @seamuslee001 if you still feel, based on feedback, this is right I'm happy to merge |
@eileenmcnaughton i think its probably the safest path to proceed is adding this new setting. The actual form situation is pretty small and i tested this locally and works fine. |
…ds are localised appropriately on confirmation page