Data - Formatting for collection and storage
Hello people.
Currently, from what I understand, using Bubble Date, it is possible to format the final result of the date entered by the user, which is very good. But, can you also force this formatting when the person enters the date? I ask because in the tests I've been doing, the date is always requested in the format of my computer's settings (mm/dd/yyyy) and not in the format I want (dd/MMM/yyyy), however, the final result is in the format which I want, but as I use it with people who use it in two formats (US and BR), there is an inversion of the month position and ends up causing problems/confusion. 😅
4 Replies
In fact, what you see in the computer, is because of your existing browser setting, it adapts to the user settings
So if, let's say a french guy is trying out the bot, he should see dd/MM/yyyy
Does that make sense?
Yes, I understood.. In my case, I have people who are using a computer with a US date standard, for example, but they are people who are used to the BR standard which inverts the mm and end up typing the wrong information when filling in dates. Most of the time, putting the day in place of the month (when the day is less than 12, an inversion is possible without realizing it happened, and then, it can make a big difference. Example: The correct date would be (mm/dd/ yyyy) 01/12/2024, but the person (from BR, who is in the USA) enters the date 12/01/2024 (dd/mm/yyyy) this causes a difference and a big problem, so I wanted a way to force the date format to avoid these errors
But the date input has a placeholder and a date picker, there is not much chance for a typo 🤔
I know and I agree with you (it shouldn't happen), but if the person just types and doesn't pay attention, they can reverse the day and month, when it is less than 13. 😆