Skip to content
/ server Public

MDEV-29564: Add ISO 8601 support (%L and %o) to DATE_FORMAT#4619

Open
abhishek593 wants to merge 1 commit intoMariaDB:mainfrom
abhishek593:MDEV-29564
Open

MDEV-29564: Add ISO 8601 support (%L and %o) to DATE_FORMAT#4619
abhishek593 wants to merge 1 commit intoMariaDB:mainfrom
abhishek593:MDEV-29564

Conversation

@abhishek593
Copy link

This PR enhances DATE_FORMAT() by adding two new format specifiers to support ISO 8601 compliant timestamps:

  • %L: Outputs 3-digit milliseconds (derived from second_part / 1000).
  • %o: Outputs a colon-separated UTC offset (e.g., +05:30).

Also, added test cases for verification.

@gkodinov gkodinov added the External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements. label Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements.

Development

Successfully merging this pull request may close these issues.

2 participants