mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
315906b380
Recently I was looking into one dataset, that has such format. So I've changed the meaning of the following formatters for formatDateTime()/parseDateTime(), like in other implementations [1]: - %l/%k - to handle hours without leading zeros - %c - handle months without leading zeros [1]: https://www.php.net/strftime And since this is kind of behaviour change (even though it is unlikely will break something), there is a new setting to control this new behaviour: - parsedatetime_enable_format_without_leading_zeros=1 (default ON) - formatdatetime_enable_format_without_leading_zeros=0 (default OFF, since this could change users output) Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com> |
||
---|---|---|
.. | ||
development | ||
engines | ||
getting-started | ||
interfaces | ||
operations | ||
sql-reference |