Clarify timestamp type for wxDateTime

This commit is contained in:
Seth Hillbrand 2018-03-29 09:28:42 -07:00
parent eb9099238a
commit 4917540069
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ void MODULE::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList )
aList.push_back( MSG_PANEL_ITEM( m_Reference->GetShownText(), m_Value->GetShownText(), DARKCYAN ) );
// Display last date the component was edited (useful in Module Editor).
wxDateTime date( m_LastEditTime );
wxDateTime date( static_cast<time_t>( m_LastEditTime ) );
if( m_LastEditTime && date.IsValid() )
// Date format: see http://www.cplusplus.com/reference/ctime/strftime