Hi
I have created a locale: SE, and set the default date and timestamp format in accordance with the Swedish standard as follows:
yyyy-mm-dd or yyyy-MM-dd
When I enter date of birth as 13th of May 1956, this shows in the form as 1956-00-13
Why is this? How do I change this so it shows correctly?
If I change to dd-MM-yyyy it shows 13-05-1956, but this is not the correct Swedish order.
Thanks
Per-Olof
Locale - date formatting
Re: Locale - date formatting
Hi fellow Swede
We use this locale setting in our apps:
Capital MM is important. MM is month, mm is minutes.
We use this locale setting in our apps:
Capital MM is important. MM is month, mm is minutes.
Re: Locale - date formatting
Hi and thanks!
I tried that, but it did'nt work
But I will try again,
best
Per-Olof
I tried that, but it did'nt work
But I will try again,
best
Per-Olof
Re: Locale - date formatting
Maybe you have to change to a different date and hit Save for the month part to kick in.
Also make sure that the attribute is inheriting from the locale and not using its own individual setting.
If you don't get it to work, feel free to attach the .bsv here in a zip file and I will have a look.
Also make sure that the attribute is inheriting from the locale and not using its own individual setting.
If you don't get it to work, feel free to attach the .bsv here in a zip file and I will have a look.
Re: Locale - date formatting
Thanks,
I got it working, but I hade to "manually" change the attribut to Format: (Take from locale).
Why did it not inherit it from my settings?
I got it working, but I hade to "manually" change the attribut to Format: (Take from locale).
Why did it not inherit it from my settings?
Re: Locale - date formatting
Glad you got it working!
This is actually a good question. The default format has always been MM/dd/yyyy for me when creating a new date attribute. I have just changed it to "(take from locale)" and never thought more about it.
But now I discovered that this behavior can actually be changed so that "(take from locale)" becomes the default!
If you double click your current Business Space Version, there should be an option called "Default date/timestamp formats" in the right panel.
I don't know when this was introduced, but I have completely missed it
This is actually a good question. The default format has always been MM/dd/yyyy for me when creating a new date attribute. I have just changed it to "(take from locale)" and never thought more about it.
But now I discovered that this behavior can actually be changed so that "(take from locale)" becomes the default!
If you double click your current Business Space Version, there should be an option called "Default date/timestamp formats" in the right panel.
I don't know when this was introduced, but I have completely missed it
-
- Posts: 1463
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Locale - date formatting
Thanks Joben,
thas solves it I think!
best
Per-Olof
thas solves it I think!
best
Per-Olof