Skip to content

Commit

Permalink
fix(Session): Round UTC offset minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Jul 1, 2024
1 parent 5a8fd3a commit 84f90aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ export default class Session extends EventEmitter {
deviceModel: args.device_model,
browserName: args.browser_name,
browserVersion: args.browser_version,
utcOffsetMinutes: -new Date().getTimezoneOffset(),
utcOffsetMinutes: -Math.floor((new Date()).getTimezoneOffset()),
memoryTotalKbytes: '8000000',
mainAppWebInfo: {
graftUrl: Constants.URLS.YT_BASE,
Expand Down

0 comments on commit 84f90aa

Please sign in to comment.