define _timezone for VisualAge

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster 1999-12-21 23:44:08 +00:00
parent 1845534dd4
commit 5f287370dd

View File

@ -92,7 +92,7 @@
#endif // broken strptime()
#ifndef WX_TIMEZONE
#ifdef __MINGW32__
#if defined(__MINGW32__) || defined(__VISAGECPP__)
#define WX_TIMEZONE _timezone
#else // unknown platform - try timezone
#define WX_TIMEZONE timezone
@ -926,7 +926,7 @@ wxDateTime wxDateTime::GetEndDST(int year, Country country)
if ( IsWestEuropeanCountry(country) || (country == Russia) )
{
// DST ends at 1 a.m. GMT on the last Sunday of October
// DST ends at 1 a.m. GMT on the last Sunday of October
if ( !dt.SetToLastWeekDay(Sun, Oct, year) )
{
// weirder and weirder...
@ -957,7 +957,7 @@ wxDateTime wxDateTime::GetEndDST(int year, Country country)
break;
default:
// DST ends at 2 a.m. on the last Sunday of October
// DST ends at 2 a.m. on the last Sunday of October
if ( !dt.SetToLastWeekDay(Sun, Oct, year) )
{
// weirder and weirder...
@ -2416,7 +2416,7 @@ const wxChar *wxDateTime::ParseFormat(const wxChar *date,
haveDay = TRUE;
mday = (wxDateTime_t)num;
break;
case _T('H'): // hour in 24h format (00-23)
if ( !GetNumericToken(input, &num) || (num > 23) )
{
@ -2772,7 +2772,7 @@ const wxChar *wxDateTime::ParseFormat(const wxChar *date,
// set the time
if ( haveHour )
{
tm.hour = hour;
tm.hour = hour;
}
if ( haveMin )