RFC 724の日付形式

RFC 724の日付形式

[1] RFC724 は、 RFC650 の次で RFC733 の前にあたる電子メイルの仕様です。日付形式においては、 RFC 733 に通じる形式の他に、 M/DD/YY のような斜線を使った形式も使えることになっていました。 但し斜線の形式は、地域によって解釈が異なることから、非推奨と去れていました。

[2] この時代はまだ日付欄はそのまま人が読み書きすることが多かった (ほとんど?) ですから、こうした問題が起きたのです。

仕様書

構文

[4] >>3

         <date-time>       ::=   <day> <date> <time>
         <day>             ::=   <null>
                               | <day-of-week> ","
         <day-of-week>     ::=   "Monday"    | "Mon"
                               | "Tuesday"   | "Tue"
                               | "Wednesday" | "Wed"
                               | "Thursday"  | "Thu"
                               | "Friday"    | "Fri"
                               | "Saturday"  | "Sat"
                               | "Sunday"    | "Sun"
         <date>            ::=   <string-date>
                               | <slash-date>
         <string-date>     ::=   <day-of-month> <string-month>
                                                <4-digit-year>
         <slash-date>      ::=   <numeric-month> "/" <date-of-month>
                                                 "/" <2-digit-year>
         <numeric-month>   ::=   <one or two decimal digits>
         <day-of-month>    ::=   <one or two decimal digits>
         <string-month>    ::=   "January" | "Jan"
                               | "February" | "Feb"
                               | "March"    | "Mar"
                               | "April"    | "Apr"
                               | "May"
                               | "June"     | "Jun"
                               | "July"     | "Jul"
                               | "August"   | "Aug"
                               | "September"| "Sep"
                               | "October"  | "Oct"
                               | "November" | "Nov"
                               | "December" | "Dec"
         <4-digit-year>    ::=   <four decimal digits>
         <2-digit-year>    ::=   <two decimal digits>
         <time>            ::=   <24-hour-time> "-" <time-zone>
         <24-hour-time>    ::=   <hour> <minute>
         <hour>            ::=   <two decimal digits>
         <minute>          ::=   <two decimal digits>
         <time-zone>       ::=   "GMT" | "Z"   | "GDT"
                               | "AST" | "ADT"
                               | "EST" | "EDT" | "CST" | "CDT"
                               | "MST" | "MDT" | "PST" | "PDT"
                               | "YST" | "YDT" | "HST" | "HDT"
[5] RFC 724 第4章 4. DATES / 日付 >>3

It is recommended that, because of differing international interpretations, the <string-day> option be used instead of the <slash-day> option in the specification of a <day>.

和訳

国際的な解釈の違いがある関係上、 <day> 定義で <slash-day> 書式ではなくて <string-day> 書式を使うのが推奨されます。

If included, <day-of-week> must be the day implied by the <date> specification.

和訳

<day-of-week> を含む場合、 <date> 定義に含まれるものでなければなりません。

<Time-zones> allow reference to Greenwich and to each of the zones in the United States. The zone references beginning with "A" are for Atlantic time which are one hour faster than the corresponding Eastern times. "Y" indicates Yukon time in Alaska, which is one hour slower than the corresponding Pacific times, and "H" indicates Hawaiian times, which are two hours slower.

和訳

<Time-zones> はグリニッジ時と合衆国各帯の時差を示します。 「A」で始まる帯名は北米東部時間より一時間早い大西洋時間を表します。 「Y」はアラスカのユーコン時間 (北米太平洋時間より一時間遅い) を 表し、「H」はハワイ時間 (二時間遅い) を表します。

[6] >>3

関連

[10] 改訂版の RFC 733の日時形式につながりました。

メモ