clickhouse-go icon indicating copy to clipboard operation
clickhouse-go copied to clipboard

fix format function to handle pointer of time.Time

Open KimMachineGun opened this issue 5 months ago • 1 comments
trafficstars

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

  • [x] Unit and integration tests covering the common scenarios were added

KimMachineGun avatar May 28 '25 09:05 KimMachineGun

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 28 '25 09:05 CLAassistant