Ignore:
Timestamp:
Jan 9, 2017, 11:09:38 AM (2 years ago)
Author:
jrpelegrina
Message:

Update new version: 3.15.02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • filezilla/trunk/fuentes/src/interface/StatusView.cpp

    r130 r3185  
    128128void CStatusView::AddToLog(CLogmsgNotification const& notification)
    129129{
    130         AddToLog(notification.msgType, notification.msg, CDateTime::Now());
    131 }
    132 
    133 void CStatusView::AddToLog(MessageType messagetype, const wxString& message, CDateTime const& time)
     130        AddToLog(notification.msgType, notification.msg, fz::datetime::now());
     131}
     132
     133void CStatusView::AddToLog(MessageType messagetype, const wxString& message, fz::datetime const& time)
    134134{
    135135        if (!m_shown) {
     
    187187                        m_lastTime = time;
    188188#ifndef __WXMAC__
    189                         m_lastTimeString = time.Format(_T("%H:%M:%S\t"), CDateTime::local);
     189                        m_lastTimeString = time.format(_T("%H:%M:%S\t"), fz::datetime::local);
    190190#else
    191191                        // Tabs on OS X cannot be freely positioned
    192                         m_lastTimeString = time.Format(_T("%H:%M:%S "), CDateTime::local);
     192                        m_lastTimeString = time.format(_T("%H:%M:%S "), fz::datetime::local);
    193193#endif
    194194                }
     
    259259{
    260260        m_showTimestamps = COptions::Get()->GetOptionVal(OPTION_MESSAGELOG_TIMESTAMP) != 0;
    261         m_lastTime = CDateTime::Now();
    262         m_lastTimeString = m_lastTime.Format(_T("%H:%M:%S\t"), CDateTime::local);
     261        m_lastTime = fz::datetime::now();
     262        m_lastTimeString = m_lastTime.format(_T("%H:%M:%S\t"), fz::datetime::local);
    263263
    264264        // Measure withs of all types
Note: See TracChangeset for help on using the changeset viewer.