Skip to content

fix format function to handle pointer of time.Time#1559

Merged
SpencerTorres merged 1 commit intoClickHouse:mainfrom
KimMachineGun:timepointer
Jul 3, 2025
Merged

fix format function to handle pointer of time.Time#1559
SpencerTorres merged 1 commit intoClickHouse:mainfrom
KimMachineGun:timepointer

Conversation

@KimMachineGun
Copy link
Copy Markdown
Contributor

Summary

Since the time.Time implements fmt.Stringer interface, *time.Time was formatted with fmt.Stringer. To format it with formatTime, I added an explicit check for *time.Time.

Checklist

  • Unit and integration tests covering the common scenarios were added

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 28, 2025

CLA assistant check
All committers have signed the CLA.

@SpencerTorres SpencerTorres merged commit 1e3095b into ClickHouse:main Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants