Skip to content

Commit

Permalink
fix: time should be in minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercy811 committed Oct 17, 2023
1 parent c64969e commit e8e00dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/analytics-core/src/diagnostics/diagnostic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class BaseDiagnostic implements Diagnostic {
return {
metadata_type: DIAGNOSTIC_METADATA_TYPE,
library: 'amplitude-ts',
accounting_time_min: Date.now(),
accounting_time_min: Math.floor(Date.now() / 60 / 1000),
response_code: code,
trigger: message,
action: 'drop events',
Expand Down

0 comments on commit e8e00dd

Please sign in to comment.