Opened 6 years ago

Closed 6 years ago

#1484297 closed Bugs (invalid)

Daylight saving

Reported by: moc Owned by:
Priority: 5 Milestone:
Component: PHP backend Version: git-master
Severity: normal Keywords: daylight saving timezone
Cc:

Description

Is daylight saving option intended as switch +0/+1 to the user timezone? Or it has to calculate automatically if daylight saving is applicable or not?? In this case in the file program/include/main.inc the line 1713 has to be corrected

from:

  // get user's timezone
  $tz = $CONFIG['timezone'];
  if ($CONFIG['dst_active'])
    $tz++;

to:

  // get user's timezone
  $tz = $CONFIG['timezone'];
  if ($CONFIG['dst_active'])
    $tz += date('I');

Change History (1)

comment:1 Changed 6 years ago by thomasb

  • Milestone 0.1-rc1 deleted
  • Resolution set to invalid
  • Status changed from new to closed

First case. It ads one hour to the timezone if activated. There's a feature request for automatic daylight saving settings according to server's time: #1484288

Note: See TracTickets for help on using tickets.