[Pidgin] #3550: PurpleLog::time is wrong

Pidgin trac at pidgin.im
Sun May 4 09:43:08 EDT 2008


#3550: PurpleLog::time is wrong
---------------------------+------------------------------------------------
  Reporter:  xpertbg       |       Owner:       
      Type:  defect        |      Status:  new  
  Priority:  minor         |   Milestone:       
 Component:  pidgin (gtk)  |     Version:  2.2.1
Resolution:                |    Keywords:       
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by poizon):

 Hi

 The history plugin shows the wrong time (+1 hour), but the log reader is
 correct.[[BR]]
 I have found this code in gtklog.c:
 {{{
 static const char *log_get_date(PurpleLog *log)
 {
         if (log->tm)
                 return purple_date_format_full(log->tm);
         else
                 return purple_date_format_full(localtime(&log->time));
 }
 }}}

 I have modified this code, pasted back to history.c and it shows now the
 correct time.[[BR]]
 I have attached the diff file: history-poizon.diff

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3550#comment:14>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list