[Bug 266643] Switch for arbitrary timezone in date(1)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Sep 2022 04:38:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266643

            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=236859&action=edit
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=Europe/Dublin date # reference
Tue Sep 27 05:36:28 IST 2022

% date -z Europe/Dublin
Tue Sep 27 05:36:28 IST 2022

-- 
You are receiving this mail because:
You are the assignee for the bug.