Is it correct that Jammy and Noble do not have the fixed version (yet)?

I have a system that has very recently been upgraded from focal to jammy
and now the clock shows as UTC.

# timedatectl list-timezones | grep Vienna
Europe/Vienna
# timedatectl set-timezone Europe/Vienna
Failed to set time zone: Invalid or not installed time zone 'Europe/Vienna'

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.5 LTS
Release:        22.04
Codename:       jammy

# dpkg -l tzdata
ii  tzdata         2024a-0ubuntu0.22.04.1 all          time zone and 
daylight-saving time data

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/2085147

Title:
  Wrong timezone detection (always UTC)

Status in tzdata package in Ubuntu:
  Fix Committed

Bug description:
  With tzdata 2024b-1ubuntu1 (plucky-proposed), the timezone is wrongly
  detected to be UTC, no matter what I do.

  This is working fine with 2024a-4ubuntu1, which is what was released
  in Oracular.

  Simple reproducer:
  ```cpp
  #include <chrono>
  #include <iostream>

  int main() {
      const std::chrono::zoned_time cur_time{ std::chrono::current_zone(),
                                              std::chrono::system_clock::now() 
};
      std::cout << cur_time << '\n';
  }
  ```
  Compiled with `g++ -std=c++20 main.cpp`

  ```
  $ ./a.out
  2024-10-21 16:14:17.489489001 UTC
  $ dpkg-query -W tzdata
  tzdata        2024b-1ubuntu1
  $ sudo apt install tzdata/oracular
  [...]
  $ dpkg-query -W tzdata
  tzdata        2024a-4ubuntu1
  $ ./a.out
  2024-10-21 18:16:25.554620585 CEST
  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: tzdata 2024b-1ubuntu1
  ProcVersionSignature: Ubuntu 6.8.0-45.45-generic 6.8.12
  Uname: Linux 6.8.0-45-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.30.0-0ubuntu4
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: sway
  Date: Mon Oct 21 14:11:36 2024
  InstallationDate: Installed on 2023-08-02 (446 days ago)
  InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
  PackageArchitecture: all
  ProcEnviron:
   LANG=fr_FR.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/zsh
   TERM=alacritty
   XDG_RUNTIME_DIR=<set>
  SourcePackage: tzdata
  UpgradeStatus: Upgraded to plucky on 2024-06-12 (131 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2085147/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to