Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 9d16d05

Browse files
authored
Merge pull request #22 from highlight-run/cameron/hig-1437-convert-timestamps-to-utc-when-creating
Client should convert timestamp to UTC before making request
2 parents c7e54db + 26da3b8 commit 9d16d05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

highlight.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func ConsumeError(ctx context.Context, errorInput interface{}, tags ...string) {
235235
}
236236
defer wg.Done()
237237
wg.Add(1)
238-
timestamp := time.Now()
238+
timestamp := time.Now().UTC()
239239
sessionSecureID := ctx.Value(ContextKeys.SessionSecureID)
240240
if sessionSecureID == nil {
241241
err := errors.New(consumeErrorSessionIDMissing)

0 commit comments

Comments
 (0)