■スレッドリストへ戻る■ 全部 1- 101- 201- 301- 401- 501- 601- 701- 801- 901- 最新50
プログラマが2chを救う!?
- 483 :Perler ◆GSi39OA6  :01/08/26 11:31
-  >>477 
 
 > +   strftime(lastmod_str, 1024, "%a, %d %b %Y %H:%M:%S %Z", localtime(&lastmod));
 
 HTTP-dateはGMTに「しなければならない(MUST)」です。
 下手にJSTなんか入れたら動作しなくなるUAが出てくると思う。
 
 RFC 2068
 
 3.3 Date/Time Formats
 
 3.3.1 Full Date
 All HTTP date/time stamps MUST be represented in Greenwich Mean Time
 (GMT), without exception. This is indicated in the first two formats
 by the inclusion of "GMT" as the three-letter abbreviation for time
 zone, and MUST be assumed when reading the asctime format.
 
 ということですので宜しくお願いします。
 
 
231KB
新着レスの表示
スレッドリストへ戻る 全部 前100 次100 最新50
0ch BBS 2004-10-30