Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ドキュメントの使用: 例として Tue Apr 07 22:52:51 +0000 2009。 誰でもrfcを特定できますか? 乾杯
もちろん、「その形式の標準はありません」とは言えません。しかし、Twitter API を使い始めたとき、彼らが使用している標準を見つけるためにしばらく検索しましたが、一致するものが見つかりませんでした。カスタムフォーマット(c#)を定義する必要がありました:
DateTime.ParseExact(twitterDateString, "ddd MMM dd HH:mm:ss %K yyyy", CultureInfo.InvariantCulture.DateTimeFormat);
RFC 2822もRFC 3339も、そのように年を月と日から分離することを許可していません。twitter が準拠しようとしていた場合、最も関連性の高い 2 つの IETF 標準とISO 8601で失敗しました。