[Rpm-maint] [rpm-software-management/rpm] Take changelog timezone in account (RhBug 1715412) (#739)
notifications at github.com
Mon Jul 29 14:07:40 UTC 2019
>@pavlinamv So then, how does date in GNU Coreutils do it?
_input_: time in an arbitrary time zone, the time zone description
_result_: the corresponding time in UTC.
Command ```date``` _prints_ or _sets_ the system date and time. Neither _printing_, nor _setting_ is so complex (or the same as) as the rpm task.
If date is used for _printing_ of the system date and time then it uses strftime() from time.h. This function can be used for printing of time zone name or abbreviation that is stored in TZ. It can not be used for setting a different time zone than is in TZ and time zone abbreviations can not be in used TZ.
If date is used for _setting_ then input time can be in a different time zone (than described in TZ) only if the timezone is UTC. Thus it can not be used for setting time zone from an _arbitrary_ time zone abbreviation too.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint