Commit 67e726c6 authored by dickelbeck's avatar dickelbeck

use local time, not gm time

parent f7b41273
...@@ -1066,8 +1066,9 @@ void DrcDialog::writeReport( FILE* fp ) ...@@ -1066,8 +1066,9 @@ void DrcDialog::writeReport( FILE* fp )
fprintf( fp, "** Drc report for %s **\n", fprintf( fp, "** Drc report for %s **\n",
CONV_TO_UTF8( m_Parent->GetScreen()->m_FileName ) ); CONV_TO_UTF8( m_Parent->GetScreen()->m_FileName ) );
char line[256]; wxDateTime now = wxDateTime::Now();
fprintf( fp, "** Created on %s **\n", DateAndTime( line ) ); //@todo make DateAndTime use localtime, not gmtime
fprintf( fp, "** Created on %s **\n", CONV_TO_UTF8(now.Format( wxT("%F %T"))) );
count = m_ClearanceListBox->GetItemCount(); count = m_ClearanceListBox->GetItemCount();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment