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

Re: data nelle mail



Piviul scrisse in data 26/10/2011 12:28:
> [...] a questo punto mi piacerebbe soltanto
> sapere se secondo lo standard il campo Date nella head di una mail deve
> contenere una data in inglese. 
Mi rispondo da solo. L'rfc di riferimento è l'rfc 822 [1] che è stato
aggiornato con l'rfc 2822 [2]. In entrambi i documenti è specificato che
la data debba essere nel seguente formato:
> 3.3. Date and Time Specification
>
>    Date and time occur in several header fields.  This section specifies
>    the syntax for a full date and time specification.  Though folding
>    white space is permitted throughout the date-time specification, it
>    is RECOMMENDED that a single space be used in each place that FWS
>    appears (whether it is required or optional); some older
>    implementations may not interpret other occurrences of folding white
>    space correctly.
>
> date-time       =       [ day-of-week "," ] date FWS time [CFWS]
>
> day-of-week     =       ([FWS] day-name) / obs-day-of-week
>
> day-name        =       "Mon" / "Tue" / "Wed" / "Thu" /
>                         "Fri" / "Sat" / "Sun"
>
> date            =       day month year
>
> year            =       4*DIGIT / obs-year
>
> month           =       (FWS month-name FWS) / obs-month
>
> month-name      =       "Jan" / "Feb" / "Mar" / "Apr" /
>                         "May" / "Jun" / "Jul" / "Aug" /
>                         "Sep" / "Oct" / "Nov" / "Dec"
>
> day             =       ([FWS] 1*2DIGIT) / obs-day
>
> time            =       time-of-day FWS zone
>
> time-of-day     =       hour ":" minute [ ":" second ]
>
> hour            =       2DIGIT / obs-hour
>
> minute          =       2DIGIT / obs-minute
>
> second          =       2DIGIT / obs-second
>
> zone            =       (( "+" / "-" ) 4DIGIT) / obs-zone
>   

A questo punto apro un bug report su /usr/bin/mail

Grazie mille a tutti quanti e soprattutto a nn_il_confusionario.

Piviul


Reply to: