Skip to content

[OCTRL-634] coconut env creation time wrong#790

Merged
knopers8 merged 1 commit intomasterfrom
OCTRL-634
Jan 13, 2026
Merged

[OCTRL-634] coconut env creation time wrong#790
knopers8 merged 1 commit intomasterfrom
OCTRL-634

Conversation

@justonedev1
Copy link
Collaborator

Changed formatting of timestamp inside a coconut. We were using ms timestamp as ns field and than reformatting it to seconds precision timestamp. So we now use time.Duration and time.Unix with seconds fields properly.

@justonedev1 justonedev1 requested a review from knopers8 as a code owner January 13, 2026 11:25

func formatTimestamp(int64timestamp int64) string {
timestamp := time.Unix(0, int64timestamp)
func formatTimestamp(int64timestamp time.Duration) string {
Copy link
Collaborator

Choose a reason for hiding this comment

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

the argument name seems to be obsolete, please update

Copy link
Collaborator

@knopers8 knopers8 left a comment

Choose a reason for hiding this comment

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

thank you!

@knopers8 knopers8 merged commit c66a3da into master Jan 13, 2026
4 checks passed
@knopers8 knopers8 deleted the OCTRL-634 branch January 13, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants