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

@ -1066,8 +1066,9 @@ void DrcDialog::writeReport( FILE* fp )
fprintf( fp, "** Drc report for %s **\n",
CONV_TO_UTF8( m_Parent->GetScreen()->m_FileName ) );
char line[256];
fprintf( fp, "** Created on %s **\n", DateAndTime( line ) ); //@todo make DateAndTime use localtime, not gmtime
wxDateTime now = wxDateTime::Now();
fprintf( fp, "** Created on %s **\n", CONV_TO_UTF8(now.Format( wxT("%F %T"))) );
count = m_ClearanceListBox->GetItemCount();