Package: faketime
Version: 0.9.10-2.4
Severity: normal

It seems faketime prevents date's --utc option from working - under
faketime date gives the same output with or without --utc (NZDT is my
local timezone):

$ date
Fri 17 Jan 2025 14:44:50 NZDT
$ date --utc
Fri 17 Jan 2025 01:44:50 UTC
$ faketime -f '1980-12-08 00:00:00' date
Mon 08 Dec 1980 00:00:00 NZDT
$ faketime -f '1980-12-08 00:00:00' date --utc
Mon 08 Dec 1980 00:00:00 NZDT

I would expect the last command to report:

Sun 07 Dec 1980 11:00:00 UTC

I've filed at the default priority as I'm not sure what's going on and
so don't know what the full impact of this is.

Cheers,
    Olly

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.8-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages faketime depends on:
ii  libc6        2.40-5
ii  libfaketime  0.9.10-2.4

faketime recommends no packages.

faketime suggests no packages.

-- no debconf information

Reply via email to