Package: util-linux Version: 2.36.1-8+deb11u1 Severity: wishlist Tags: upstream X-Debbugs-Cc: s...@debian.org
Hi, the rtcwake command accepts a time without a date as an argument to --date, interprets it as meaning "today", then complains that the RTC doesn't go backwards. The string "tomorrow" can only stand alone and means midnight. This makes it difficult to specify "tomorrow 9:00" without date calculation code, like rtcwake -t `date +%s -d "tomorrow 9:00"`. Since it is clear that the desired time cannot be in the past, it would be nice to interpret a time without a date as either today or tomorrow, similar to how at(1) handles it. Simon -- System Information: Debian Release: 11.3 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'stable-security') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-13-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages util-linux depends on: ii libaudit1 1:3.0-2 ii libblkid1 2.36.1-8+deb11u1 ii libc6 2.31-13+deb11u3 ii libcap-ng0 0.7.9-2.2+b1 ii libcrypt1 1:4.4.18-4 ii libmount1 2.36.1-8+deb11u1 ii libpam0g 1.4.0-9+deb11u1 ii libselinux1 3.1-3 ii libsmartcols1 2.36.1-8+deb11u1 ii libsystemd0 247.3-7 ii libtinfo6 6.2+20201114-2 ii libudev1 247.3-7 ii libuuid1 2.36.1-8+deb11u1 ii login 1:4.8.1-1 ii zlib1g 1:1.2.11.dfsg-2 util-linux recommends no packages. Versions of packages util-linux suggests: ii dosfstools 4.2-1 ii kbd 2.3.0-3 ii util-linux-locales 2.36.1-8+deb11u1 -- no debconf information