help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: timezone errors on 2.1.8


From: Mark . Burgess
Subject: Re: timezone errors on 2.1.8
Date: Mon, 9 Aug 2004 10:42:33 +0200 (MEST)

Any suggested patch?

On  9 Aug, Adrian Phillips wrote:
>>>>>> "Jamie" == Jamie Wilkinson <jaq@spacepants.org> writes:
> 
>     Jamie> This one time, at band camp, Mark.Burgess@iu.hio.no wrote:
>     >> Again some people think you should set the date. Perhaps this
>     >> should be configurable.
> 
>     Jamie> I don't mind if it sets it, as long as it gets it right.
>     Jamie> Perhaps you could use a configure test to see if %z exists
>     Jamie> in strftime.
> 
>     Jamie> The manpage for strftime says that %z is "Required to emit
>     Jamie> RFC822-conformant dates" but then also indicates it's a GNU
>     Jamie> extension.  My reading of this is that %Z is not RFC822
>     Jamie> conformant and thus shouldn't be used.
> 
> strftime %Z zone name is RFC822 conformant but is obsolete in 2822 :-
> 
> zone            =       (( "+" / "-" ) 4DIGIT) / obs-zone
> 
> ie. don't use it.
> 
> If a Date header is to be generated and no %z option exists then
> perhaps a UTC date/time should be generated.
> 
> Sincerely,
> 
> Adrian Phillips
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]