openhab / openhab-core

Core framework of openHAB
https://www.openhab.org/
Eclipse Public License 2.0
930 stars 428 forks source link

ConfigDescriptionParameter: Change default format for datetime & Update context docs #4428

Closed florian-h05 closed 3 weeks ago

florian-h05 commented 3 weeks ago

This changes the default format for the datetime context to the ISO standard. This context is not used by add-ons and supported by the UI, so it should be possible to change it (again after #4392.)

Also update the context docs from https://next.openhab.org/docs/developer/addons/config-xml.html#supported-contexts and the UI code.

florian-h05 commented 3 weeks ago

@lolodomo Let's change the format for the datetime context to use the ISO default format as this does not require to use a custom formatter anywhere that context is used.

J-N-K commented 3 weeks ago

I agree, ISO date strings are more likely to be expected and used in this context.