ClickHouse/docs/en/sql-reference
Azat Khuzhin 315906b380 Add ability to parse hours/months without leading zeros
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>
2023-11-26 19:10:17 +01:00
..
aggregate-functions [Docs] Add perf tip for COUNT(DISTINCT expr) 2023-11-18 17:53:32 -08:00
data-types canonicalRand is replaced by randCanonical 2023-11-11 10:11:47 -08:00
dictionaries fix typo in the doc 2023-11-13 16:54:21 +03:00
functions Add ability to parse hours/months without leading zeros 2023-11-26 19:10:17 +01:00
operators Typos: Follow-up to #50476 2023-06-02 13:28:09 +00:00
statements [Docs] Recommend against OPTIMIZE FINAL in OPTIMIZE page 2023-11-18 18:51:35 -08:00
table-functions Merge pull request #56705 from ClickHouse/docs-s3-gcs-improvements 2023-11-24 16:17:40 +01:00
window-functions Remove tabs 2023-11-13 16:16:07 -05:00
_category_.yml New nav - reverting the revert 2023-03-17 21:45:43 -05:00
ansi.md replace symlinks 2022-08-28 17:34:50 -04:00
distributed-ddl.md standardize admonitions 2023-03-27 14:54:05 -04:00
formats.mdx add link to formats 2022-09-16 17:21:03 -04:00
index.md New nav - reverting the revert 2023-03-17 21:45:43 -05:00
sql-reference-links.json New nav - reverting the revert 2023-03-17 21:45:43 -05:00
syntax.md Docs: Replace annoying three spaces in enumerations by a single space 2023-04-19 15:56:55 +00:00
transactions.md Make better 2023-07-25 13:36:57 +02:00