Return date in stable format#1533
Conversation
Signed-off-by: Radim Hrazdil <radim.hrazdil@whalebone.io>
Signed-off-by: Radim Hrazdil <radim.hrazdil@whalebone.io>
Addressing the static check linter. Signey-off-by: Radim Hrazdil <radim.hrazdil@whalebone.io>
|
|
Hi @rhrazdil, Thank you for taking the time to submit this PR with the explanation of the datetime formatting issue. We appreciate your contribution and the quality of your work. We want to inform you that the Quesma database gateway IP has been acquired by Hydrolix. Consequently, this repository is no longer actively maintained by Quesma team, and we are unable to review and merge new contributions anymore. For more details, please see the official announcement. If you would like to pursue this contribution further, we encourage you to reach out to Hydrolix directly here. Thank you again for your interest in improving the project . Best regards, |



Hello,
In this PR I propose returing date in a predictable format.
Currently, quesma returns datetime formatted as
%v, whichby default yields format in the following format
However, when the time.Time structure has microseconds, the
resulting time string contains it as well:
This make parsing tricky for clients in cases where some records don't contain microsecond precision.
Code change is covered by unit tests and I also tested E2E.