Skip to content

Commit

Permalink
fix(homepage): timezones..
Browse files Browse the repository at this point in the history
  • Loading branch information
charlypoly committed Sep 25, 2024
1 parent a9095a6 commit f99a481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/LaunchWeekBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function useIsItDay3InSFNow() {
const localTime = d.getTime();
const localOffset = d.getTimezoneOffset() * 60000;
const utc = localTime + localOffset;
const offset = -8; // UTC of PST is -05.00
const offset = -7; // UTC of PST is -05.00
const sfDate = new Date(utc + 3600000 * offset);

return (
Expand Down

0 comments on commit f99a481

Please sign in to comment.