Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Time in inspector is always shown as UTC #2567

Open
1 task done
ninagrosse opened this issue Jan 29, 2025 · 0 comments
Open
1 task done

[Bug]: Time in inspector is always shown as UTC #2567

ninagrosse opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ninagrosse
Copy link

What did you expect to happen?

I'm not sure if this is a bug or intended behavior. When inspecting a command, I expected the command stats to show my local time. But it always shows UTC. My local timezone ist Germany / UTC+1.

If have set timezone = "local" in config.toml but that doesn't seem to have any effect.

atuin doctor output is from WSL2 with Ubuntu. I also tried it on a Debian machine. Same issue.

What happened?

I did the command at 14:11 local time / UTC+1, but inspector shows 13:11 which is UTC.

Image

Atuin doctor output

{
  "atuin": {
    "version": "18.4.0",
    "sync": {
      "cloud": true,
      "records": true,
      "auto_sync": true,
      "last_sync": "2025-01-29 13:11:05.681340372 +00:00:00"
    },
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "zsh",
    "default": "zsh",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Ubuntu",
    "arch": "x86_64",
    "version": "22.04",
    "disks": [
      {
        "name": "/dev/sdd",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sdc",
        "filesystem": "ext4"
      },
      {
        "name": "none",
        "filesystem": "9p"
      },
      {
        "name": "none",
        "filesystem": "overlay"
      },
      {
        "name": "/dev/sde",
        "filesystem": "ext4"
      },
      {
        "name": "none",
        "filesystem": "overlay"
      },
      {
        "name": "C:\\134",
        "filesystem": "9p"
      },
      {
        "name": "/dev/sde",
        "filesystem": "ext4"
      },
      {
        "name": "snapfuse",
        "filesystem": "fuse.snapfuse"
      },
      {
        "name": "snapfuse",
        "filesystem": "fuse.snapfuse"
      },
      {
        "name": "snapfuse",
        "filesystem": "fuse.snapfuse"
      },
      {
        "name": "snapfuse",
        "filesystem": "fuse.snapfuse"
      },
      {
        "name": "snapfuse",
        "filesystem": "fuse.snapfuse"
      },
      {
        "name": "snapfuse",
        "filesystem": "fuse.snapfuse"
      },
      {
        "name": "snapfuse",
        "filesystem": "fuse.snapfuse"
      },
      {
        "name": "snapfuse",
        "filesystem": "fuse.snapfuse"
      },
      {
        "name": "/dev/sde",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sde",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sde",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sde",
        "filesystem": "ext4"
      },
      {
        "name": "C:\\134Program\\040Files\\134Docker\\134Docker\\134resources",
        "filesystem": "9p"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ninagrosse ninagrosse added the bug Something isn't working label Jan 29, 2025
@ninagrosse ninagrosse changed the title [Bug]: Timezone in inspector is always shown as UTC [Bug]: Time in inspector is always shown as UTC Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant