[Rpm-maint] [rpm-software-management/rpm] Take changelog timezone in account (RhBug 1715412) (#739)
pavlinamv
notifications at github.com
Mon Jul 29 14:07:40 UTC 2019
>@pavlinamv So then, how does date in GNU Coreutils do it?
rpm task:
_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:
https://github.com/rpm-software-management/rpm/pull/739#issuecomment-516006774
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190729/7c965f63/attachment.html>
More information about the Rpm-maint
mailing list