git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5060
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif // broken strptime()
#ifndef WX_TIMEZONE
#endif // broken strptime()
#ifndef WX_TIMEZONE
+ #if defined(__MINGW32__) || defined(__VISAGECPP__)
#define WX_TIMEZONE _timezone
#else // unknown platform - try timezone
#define WX_TIMEZONE timezone
#define WX_TIMEZONE _timezone
#else // unknown platform - try timezone
#define WX_TIMEZONE timezone
if ( IsWestEuropeanCountry(country) || (country == Russia) )
{
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...
if ( !dt.SetToLastWeekDay(Sun, Oct, year) )
{
// weirder and weirder...
- // 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...
if ( !dt.SetToLastWeekDay(Sun, Oct, year) )
{
// weirder and weirder...
haveDay = TRUE;
mday = (wxDateTime_t)num;
break;
haveDay = TRUE;
mday = (wxDateTime_t)num;
break;
case _T('H'): // hour in 24h format (00-23)
if ( !GetNumericToken(input, &num) || (num > 23) )
{
case _T('H'): // hour in 24h format (00-23)
if ( !GetNumericToken(input, &num) || (num > 23) )
{
// set the time
if ( haveHour )
{
// set the time
if ( haveHour )
{