lide-reed opened a new issue #683: date_format function incorrect URL: https://github.com/apache/incubator-doris/issues/683 **Describe the bug** mysql> select date_format("2019-03-04 22:23:00", '%W %w'); +---------------------------------------------+ | date_format('2019-03-04 22:23:00', '%W %w') | +---------------------------------------------+ | %2 %10 | +---------------------------------------------+ 1 row in set (0.08 sec) **To Reproduce** mysql> select date_format("2019-03-04 22:23:00", '%W %w'); +---------------------------------------------+ | date_format('2019-03-04 22:23:00', '%W %w') | +---------------------------------------------+ | %2 %10 | +---------------------------------------------+ 1 row in set (0.08 sec) **Expected behavior** mysql> select date_format("2019-03-04 22:23:00", '%W %w'); +---------------------------------------------+ | date_format('2019-03-04 22:23:00', '%W %w') | +---------------------------------------------+ | Monday 1 | +---------------------------------------------+ 1 row in set (0.04 sec)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
