Skip to content

Commit d799bdf

Browse files
use integer Unix timestamps
Signed-off-by: Thomas Poignant <[email protected]>
1 parent 00533ed commit d799bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/providers/go-feature-flag/src/lib/go-feature-flag-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class GoFeatureFlagProvider implements Provider, Tracking {
6060
contextKind: getContextKind(context),
6161
key: trackingEventName,
6262
trackingEventDetails: trackingEventDetails ?? {},
63-
creationDate: Date.now() / 1000,
63+
creationDate: Math.floor(Date.now() / 1000),
6464
evaluationContext: context ?? {},
6565
};
6666
this.eventPublisher.addEvent(event);

0 commit comments

Comments
 (0)