contao/test — Issue #1498: Changing time format causes problem in backend
Author: importer
Created: 2011-11-29 08:01:43+00:00
State: open
Labels: Defect, framework

When changing the time format in settings, then it causes problem when editing post items in backend.

For example:
Changing the time format in settings from H:i to H.i. (It is more correct in Sweden to write time this way.)

The output in frontend is correct. But, it causes problem when editing posts with time in the backend, for example when editing a news or calendar item.

The output in backend is H.i, but when you save the post, the time reverts back to 01.00. It seems that when you save, TL expects the time format to be H:i, no matter what time format settings you have made.

This can be solved in either two ways:

1. Time can be entered in backend posts in the same format as specified in settings.

2. Time can only be entered in backend posts in the form of H:i. But this requires that the time format in the backend always is H:i, no matter what is entered in the settings.

--- _Originally created by lonka on February 3rd, 2010, at 01:38pm (ID 1498)_