Date: Tue, 27 Sep 2022 04:38:51 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266643] Switch for arbitrary timezone in date(1) Message-ID: <bug-266643-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266643 Bug ID: 266643 Summary: Switch for arbitrary timezone in date(1) Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: hasan.diwan+freebsd@gmail.com Created attachment 236859 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236859&action= =3Dedit adds -z switch to allow for multiple timezone support Patch adds a "-z" parameter to the date command, allowing for timezone to be specified. Sample runs below: % env TZ=3DEurope/Dublin date # reference Tue Sep 27 05:36:28 IST 2022 % date -z Europe/Dublin Tue Sep 27 05:36:28 IST 2022 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266643-227>