Subject: | 2 time-zone related suggestions |
Date: | Mon, 27 Aug 2012 14:39:35 +0200 |
To: | dhcp-suggest@isc.org |
From: | Jiri Popelka <jpopelka@redhat.com> |
Hi,
I have 2 suggestions regarding time&date format printing and parsing.
First, as you can see in [1] it is not easy to discover what time zone
the time&date record in leases file are. One needs to read dhclient.conf(5)
to know that in 'default' format they are in UTC. But the time zone
indication
would be useful also in 'local' format. See attached timezone.patch
Second, I think the common/parse.c::parse_date_core() is a little outdated,
because it is able to parse a time zone offset, but I can't find an
origin of this
tz offset, i.e. common/print.c::print_time() doesn't create such a thing.
See tzoff.patch
[1] http://bugzilla.redhat.com/show_bug.cgi?id=851636
With regards,
Jiri Popelka
Red Hat, inc.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.