RFC 850の日付形式

RFC 850の日付形式

歴史

[1] RFC 850 第2.1.4節

2.1.4 Date The Date line (formerly "Posted") is the date, in a format that must be acceptable both to the ARPANET and to the getdate routine, that the article was originally posted to the network. This date remains unchanged as the article is propagated throughout the network. One format that is acceptable to both is

Date (日付)行 (以前は「Posted」(投稿時間)) は記事が はじめにネットワークに投稿された日付で、 ARPANET 及び getdate (日付取得)ルーチンの双方で使用可能な書式でなければなりません。 この日付は記事がネットワーク中を配布される間に変更されません。 双方で使用可能な書式の一つは次のようなものです。

     Weekday, DD-Mon-YY HH:MM:SS TIMEZONE

Several examples of valid dates appear in the sample article above. Note in particular that ctime format:

妥当な日付の例が幾つか前述の記事例にありました。 なお特に ctime 書式

     Wdy Mon DD HH:MM:SS YYYY

is not acceptable because it is not a valid ARPANET date. However, since older software still generates this format, news implementations are encouraged to accept this format and translate it into an acceptable format.

は ARPANET の日付形式として妥当でないので不適当です。 しかし、古いソフトウェアがまだこの書式を使うので、 ニュース実装はこの書式を理解して妥当な書式に直します。

The contents of the TIMEZONE field is currently subject to worldwide time zone abbreviations, including the usual American zones (PST, PDT, MST, MDT, CST, CDT, EST, EDT), the other North American zones (Bering through Newfoundland), European zones, Australian zones, and so on. Lacking a complete list at present (and unsure if an unambiguous list exists), authors of software are encouraged to keep this code flexible, and in particular not to assume that time zone names are exactly three letters long. Implementations are free to edit this field, keeping the time the same, but changing the time zone (with an appropriate adjustment to the local time shown) to a known time zone.

TIMEZONE (時間帯) 領域の中身は原罪世界中の時間帯略語 (一般的な米帯 (PST, PDT, MST, MDT, CST, CDT, EST, EDT), 他の北米帯 (ベーリングからニューファンドランドまで), 欧州帯, 豪州帯, その他を含む。) が使われています。 現在この完全な表はなく (曖昧でない表があるかも不明なので)、 ソフトウェアの著者にはこのコードを柔軟なものに、特に 時間帯名が3文字であるという仮定もしないことを推奨します。 実装はこの領域を編集するのは自由で、時間を保っておくのも同様ですが、 既知の時間帯に (現地時間表示にする適切な補正で) 時間帯を変える のはいけません。

関連

[2] >>1 の通り、 ARPANET の日付形式 (内容的にRFC733の日付形式 を指すと思われる。) の使用を推奨し、 asctime形式 も受け入れるように と述べています。

[3] HTTPの日付形式で RFC 850 の日付形式と呼ばれているのは実際には RFC733の日付形式です。