use local time, not gm time

This commit is contained in:
dickelbeck 2007-12-05 13:50:42 +00:00
parent f7b41273ac
commit 67e726c62d
1 changed files with 3 additions and 2 deletions

View File

@ -1065,9 +1065,10 @@ void DrcDialog::writeReport( FILE* fp )
fprintf( fp, "** Drc report for %s **\n",
CONV_TO_UTF8( m_Parent->GetScreen()->m_FileName ) );
wxDateTime now = wxDateTime::Now();
char line[256];
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();