Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

monorepo / venus

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 1
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • venus
  • apps
  • backend-mock
  • utils
  • timezone-utils.ts
  • zhongming4762's avatar
    feat: increase support for multiple time zones · b029f77b
    zhongming4762 committed Oct 22, 2025
    b029f77b
timezone-utils.ts 184 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9
let mockTimeZone: null | string = null;

export const setTimezone = (timeZone: string) => {
  mockTimeZone = timeZone;
};

export const getTimezone = () => {
  return mockTimeZone;
};