Re: error in hours given by date -d @anyNumber

2022-01-17 Thread Greg Wooledge
On Mon, Jan 17, 2022 at 09:10:59PM +0100, Girod Valentin wrote: > Description: > when using date -d @customNumber +%H, > it returns 1 more hour that the expected hour. First thing to note: date(1) is not part of bash. It's part of GNU coreutils, if you're on a GNU/Linux system. You're re

Re: error in hours given by date -d @anyNumber

2022-01-17 Thread Chet Ramey
On 1/17/22 3:10 PM, Girod Valentin wrote: Bash Version: 5.0 Patch Level: 17 Release Status: release Description:     when using date -d @customNumber +%H,     it returns 1 more hour that the expected hour. Repeat-By:     date -d @0 +%T     returns: 01:00:00 (WHAT THE FUCK) This is not a b