[前][次][番号順一覧][スレッド一覧]

sylpheed-jp:2305

From: 吉山 晃 <yosshy@xxxxxxxxxx>
Date: Wed, 23 Apr 2003 00:31:33 +0900
Subject: [sylpheed-jp:02305] Re: 日付について


  吉山です。

  下記が該当部分と思われます。見たところ、localtime() の戻り値のチェックが
されていない以外には問題があるように思えません。

---
void procheader_date_get_localtime(gchar *dest, gint len, const time_t timer)
{
        struct tm *lt;
        gchar *default_format = "%y/%m/%d(%a) %H:%M";

        lt = localtime(&timer);

        if (prefs_common.date_format)
                strftime(dest, len, prefs_common.date_format, lt);
        else
                strftime(dest, len, default_format, lt);
}
---

  Solaris を日本以外のロケールで使っているとかありませんか?

---
吉山あきら <yosshy@xxxxxxxxxx>


On Tue, 22 Apr 2003 23:57:59 JST
Ryosuke Miyawaki <miyawaki@xxxxxxxxxx> wrote:

> 宮脇@福岡教育大学です。
> 
> 現在sylpheed0.8.11をsolaris9で仕事場と自宅で使っています。
> ある一部のところから送られてくるメールにかぎって
> (この場合ヤフーオークションを例にあげますが、)
> サマリの日付の欄が9時間進んでしまいます。
> 
> From: auction-master@xxxxxxxxxx
> To: miyawaki@********
> Reply-To: miyawaki@*******
> Subject:  Yahoo!オークション - 終了:*******
> Date: Tue, 22 Apr 2003 21:47:58 JST
> 
> の場合
> サマリでは
> 03/4/23(水)06:47
> と表示されます。
> 
> この現象はturbolinuxでは現れません。
> 
> Date: Tue, 22 Apr 2003 21:47:58 JST
>                                 ~~~~
>                                  ↑
>                   これを処理していないのでしょうか
> 
> 
> たしかに
> 他のメールは
> Date: Tue, 22 Apr 2003 23:28:28 +0900
>                                 ~~~~~~
> ですから。
> その処理がされていないのでしょうか?
> なぜsolarisでのみ現れるのでしょうか?
> 直す方法は
> 
> 
> -- 
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>      Ryosuke MIYAWAKI:  Fukuoka University of Education
>      1-1 Akama-Bunkyo-Machi, Munakata, Fukuoka 811-4192 JAPAN
>      Phone:+81-940-35-1359    FAX +81-940-35-1740
>      e-mail miyawaki@xxxxxxxxxx
>      URL http://www.fukuoka-edu.ac.jp/~miyawaki
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> 
> 
> 


[前][次][番号順一覧][スレッド一覧]

      2304 2003-04-22 23:57 [miyawaki@xxxxxxxxxx ] 日付について                            
->    2305 2003-04-23 00:31 ┣[yosshy@xxxxxxxxxx   ]                                       
      2311 2003-04-23 11:00 ┃┗[miyawaki@xxxxxxxxxx ]                                     
      2312 2003-04-23 13:29 ┃ ┗[yosshy@xxxxxxxxxx   ]                                   
      2313 2003-04-23 13:42 ┃  ┗[hiro-y@xxxxxxxxxx   ]                                 
      2306 2003-04-23 01:18 ┣[aaf89440@xxxxxxxxxx ]                                       
      2307 2003-04-23 02:28 ┗[iwai@xxxxxxxxxx     ]                                       
      2308 2003-04-23 08:17  ┗[e32i820@xxxxxxxxxx  ]                                     
      2309 2003-04-23 08:39   ┗[iwai@xxxxxxxxxx     ]                                   
      2310 2003-04-23 09:50    ┗[e32i820@xxxxxxxxxx  ]                                 
      2316 2003-04-24 09:01     ┗[iwai@xxxxxxxxxx     ]                               
      2317 2003-04-24 11:19      ┣[e32i820@xxxxxxxxxx  ]                             
      2318 2003-04-24 11:20      ┗[e32i820@xxxxxxxxxx  ]                             
      2319 2003-04-24 11:47       ┗[iwai@xxxxxxxxxx     ]                           
      2320 2003-04-24 11:55        ┗[e32i820@xxxxxxxxxx  ]