mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +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> |
||
---|---|---|
.. | ||
aggregate-functions | ||
data-types | ||
dictionaries | ||
functions | ||
operators | ||
statements | ||
table-functions | ||
window-functions | ||
_category_.yml | ||
ansi.md | ||
distributed-ddl.md | ||
formats.mdx | ||
index.md | ||
sql-reference-links.json | ||
syntax.md | ||
transactions.md |