Skip to content

timedatectl status always reports UTC timezone #19339

@Baughn

Description

@Baughn

Issue description

timedatectl status is meant to show the current timezone. It doesn't.

(I have some reason to believe that this is connected to Steam game failures, but still working on that. In any case...)

Steps to reproduce

Set time.timeZone to anything other than UTC. Rebuild your system. Run timedatectl status

The output will be in UTC, with no timezone shown:

$  timedatectl status
  Local time: Fri 2016-10-07 20:42:31 UTC
  Universal time: Fri 2016-10-07 20:42:31 UTC
  RTC time: Fri 2016-10-07 20:42:31
  Time zone: n/a (UTC, +0000)
  Network time on: n/a
  NTP synchronized: yes
  RTC in local TZ: no

$ date
Fri Oct  7 21:46:16 IST 2016

$ grep timeZone /etc/nixos/configuration.nix
  time.timeZone = "Europe/Dublin";

timedatectl list-timezones lists only UTC.

Technical details

  • System: 17.03pre92039.adfcc2d (Gorilla)
  • Nix version: nix-env (Nix) 1.11.4
  • Nixpkgs version: 17.03pre92039.adfcc2d

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancementAdd something new or improve an existing system.6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS9.needs: reporter feedbackThis issue needs the person who filed it to respond

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions