[Rpm-maint] [rpm-software-management/rpm] Take changelog timezone in account (RhBug 1715412) (#739)
pavlinamv
notifications at github.com
Mon Jun 24 03:28:08 UTC 2019
pavlinamv commented on this pull request.
> @@ -178,13 +179,17 @@ static int dateToTimet(const char * datestr, time_t * secs, int * date_words)
if (*secs == -1) goto exit;
+ if (tzname[1][0] == 0)
+ rpmlog(RPMLOG_WARNING, _("time zone in %%changelog not in tz database: %s\n"), datestr);
In the new version I changed the current warning, to be close to yours. But it still give an additional information that the time zone ID must be contained in the tz database (thus it can not be e.g. time zone abbreviation like CEST). So it additionally helps to indicate how to correct the problem.
--
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#discussion_r296542117
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190623/d5a07300/attachment.html>
More information about the Rpm-maint
mailing list