121 Posts
deralex
6 years ago
2
Topic

Hi,

since the update to J! 3.7.4 and S 3.12.2 there's an error saving content items: 

"You either used wrong format or locale set by language file is not supported on your server - de_DE.utf8"

Language: de_DE
Format: Y-m-d H:i:s
Storage format: Datetime
Text input: Enabled

Any ideas?

Regards

Alex

Get a Book for SEBLOD
121 Posts
deralex
6 years ago
1
Level 1

Finally made it myself (mostly). Even though the site has run fine for years and thousands of content items, after the update I had to change date format! Until then there was "Y-m-d H:i:s", now I use "d.m.Y" (German format) .

If you don't have hours/minutes/seconds, the plugin stores the correct date, but uses the time of saving instead of default time. I've added some lines to repair that. If anyones interested in it, place a post.

Also I think there's some trouble with having live values like "today". This is going to be my next task.

4229 Posts
Kadministrator
6 years ago
0
Level 2

Y-m-d H:i:s should work ok, formats that are problematic are those using textual names of days or months. Also live values now, today etc should be handled ok.

Would be interesting to see why it doesn't work for you, can you ask you hosting provider to give you a list of available locales (locale -a )? Which php version do you use?

Get a VIP membership