Skip to content

Set preferred timezone in Configuration #10

@faangbait

Description

@faangbait

Those of us who work inside sandboxes/devcontainers often don't have a timezone matching our actual timezone. Allow the selection of a timezone inside the Preferences panel. e.g.

  private getConfiguration(): ExtensionConfig {
    const config = vscode.workspace.getConfiguration('claudeCodeUsage');
    return {
      refreshInterval: config.get('refreshInterval', 60),
      dataDirectory: config.get('dataDirectory', ''),
      language: config.get('language', 'auto'),
      decimalPlaces: config.get('decimalPlaces', 2),
      timezone: config.get('timezone', 'en-US')             // <---- new
    };
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions