On Wed, Dec 18, 2002 at 12:28:01PM +0100, Rainer Gerhards wrote:
> The RFC3339-TIMESTAMP is as specified in [RFC3339]:
>
> The following syntax MUST be used when using a RFC3339-TIMESTAMP. This
> is specified using the syntax description notation defined in [ABNF].
>
>    date-fullyear   = 4DIGIT
>    date-month      = 2DIGIT  ; 01-12
>    date-mday       = 2DIGIT  ; 01-28, 01-29, 01-30, 01-31 based on
>                              ; month/year
>    time-hour       = 2DIGIT  ; 00-23
>    time-minute     = 2DIGIT  ; 00-59
>    time-second     = 2DIGIT  ; 00-58, 00-59, 00-60 based on leap second
>                              ; rules
>    time-secfrac    = "." 1*DIGIT
>    time-numoffset  = ("+" / "-") time-hour ":" time-minute
>    time-offset     = "Z" / time-numoffset
>
>    partial-time    = time-hour ":" time-minute ":" time-second
>                      [time-secfrac]
>    full-date       = date-fullyear "-" date-month "-" date-mday
>    full-time       = partial-time time-offset
>
>    date-time       = full-date "T" full-time
>
>   Other than in RFC3339
>
>   - the "T" and "Z" characters in this syntax MUST be in upper case.
>   - usage of the "T" character is mandatory. It MUST NOT be replaced by
>     any other character (like a space character).
>   - the sender SHOULD include time-secfrac (fractional seconds) if its
>     clock accuracy permits so
>   - the timestap SHOULD be formatted in UTC format ("zulu" time)

I think the requirement of sending the stamp in GMT is not good. You'd lose
the time zone information. It is possible to convert to a given timezone (be
it Zulu or something else) on the receiver side.

> A relay MUST NOT reformat the time stamp. This could create a wrong
> concept of time accuracy at the next receiver. If a relay receives a
> RFC3164-TIMESTAMP, it MUST forward the message with a RFC3164-TIMESTAMP
> and similarly if a relay receives a RFC3339-TIMESTAMP it MUST forward
> the message with a RFC3164-TIMESTAMP.

I assume the last sentence was mistyped, and you meant that the relay should
send RFC3339-TIMESTAMP if it receives a message with RFC3339-TIMESTAMP

Btw, why is this a requirement a _MUST_? I think 'SHOULD' is perfectly enough,
a relay can be smart enough to convert from RFC3164 to RFC3339 timestamps if
configured this way. (for example tz information can be added, assuming the
relay is in the same zone as the sender)

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1

Reply via email to