use local time, not gm time
This commit is contained in:
parent
f7b41273ac
commit
67e726c62d
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue