Skip to content

feat: Adds time_format param for httpd (#26596)#26833

Merged
devanbenz merged 1 commit into1.12from
db/cherrypick-57da
Sep 25, 2025
Merged

feat: Adds time_format param for httpd (#26596)#26833
devanbenz merged 1 commit into1.12from
db/cherrypick-57da

Conversation

@devanbenz
Copy link
Copy Markdown

  • feat: Adds time_format param for httpd

  • This PR will add a time_format parameter which takes in the value "epoch" or "rfc3339". The default will be "epoch" depending on the value output timestamps will be formatted in epoch or rfc3339.

Closes FR#615

  • feat: Adding some changes

  • error if incorrect param

  • update naming for converter function

  • combine tests

  • chore: fmt'ing

  • feat: A few modifications

  • Rename convertToRfc3339Nano to convertToTimeFormat

  • allow time formatting to be passed as parameter

  • adjust error handling to use already defined timeFormats

  • merge test data for test cases to reduce boilerplate

(cherry picked from commit 57da7aa)

* feat: Adds time_format param for httpd

* This PR will add a time_format parameter which takes in the value "epoch" or "rfc3339". The default will be "epoch" depending on the value output timestamps will be formatted in epoch or rfc3339.

Closes FR#615

* feat: Adding some changes
* error if incorrect param
* update naming for converter function
* combine tests

* chore: fmt'ing

* feat: A few modifications
* Rename convertToRfc3339Nano to convertToTimeFormat
* allow time formatting to be passed as parameter
* adjust error handling to use already defined timeFormats
* merge test data for test cases to reduce boilerplate

(cherry picked from commit 57da7aa)
Copy link
Copy Markdown
Contributor

@davidby-influx davidby-influx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devanbenz devanbenz merged commit b9a0155 into 1.12 Sep 25, 2025
9 checks passed
@devanbenz devanbenz deleted the db/cherrypick-57da branch September 25, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants