Verfasst: 22.12.2008 20:52
Hallo,
danke für die Hilfe. Es geht!!!
Ich war schon am verzweifeln...
Grüße
Chris
danke für die Hilfe. Es geht!!!
Ich war schon am verzweifeln...
Grüße
Chris
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1497: Use of undefined constant DST_ON - assumed 'DST_ON'
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1497: Use of undefined constant DST_AUTO - assumed 'DST_AUTO'
17Mal:
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2069: Use of undefined constant DST_AUTO - assumed 'DST_AUTO'
Code: Alles auswählen
$this->dst = ($this->data['user_dst'] == DST_ON || $this->data['user_dst'] == DST_AUTO && date('I')) ? 3600 : 0;
Code: Alles auswählen
$date_cache[$format]['zone_offset'] = ($this->data['user_dst'] == DST_AUTO) ? $this->timezone + date('I', $gmepoch) * 3600 : $this->timezone + $this->dst;
Code: Alles auswählen
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3734: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3736: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3737: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3738: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
Könntest du mir dies mal Erklären?Tuxman hat geschrieben:Du hast offenbar vergessen, die Konstanten zu definieren.
Code: Alles auswählen
$event_start_date = gmmktime($start_hr, $start_mn, 0, $date['month_no'], $date['day'], $date['year'] ) - $user->timezone - $user->dst;
Code: Alles auswählen
$event_start_date = gmmktime($start_hr, $start_mn, 0, $date['month_no'], $date['day'], $date['year'] ) - $user->timezone - 3600 * date('I', gmmktime($start_hr, $start_mn, 0, $date['month_no'], $date['day'], $date['year']));
Code: Alles auswählen
$event_end_date = gmmktime($end_hr, $end_mn, 0, $end_m, $end_d, $end_y ) - $user->timezone - $user->dst;
Code: Alles auswählen
$event_end_date = gmmktime($end_hr, $end_mn, 0, $end_m, $end_d, $end_y ) - $user->timezone - 3600 * date('I', gmmktime($end_hr, $end_mn, 0, $end_m, $end_d, $end_y ));
Code: Alles auswählen
$event_days_time = gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year'])- $user->timezone - $user->dst;
Code: Alles auswählen
$event_days_time = gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year'])- $user->timezone - 3600 * date('I', gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year']));
Code: Alles auswählen
$row['event_start_time'] = gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year'])- $user->timezone - $user->dst;
Code: Alles auswählen
$row['event_start_time'] = gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year'])- $user->timezone - 3600 * date('I', gmmktime(0,0,0,$eday['eday_month'], $eday['eday_day'], $eday['eday_year']));
Code: Alles auswählen
// translate event start and end time into user's timezone
$event_start = $event_data['event_start_time'] + $user->timezone + $user->dst;
$event_end = $event_data['event_end_time'] + $user->timezone + $user->dst;
Code: Alles auswählen
// translate event start and end time into user's timezone
$event_start = $event_data['event_start_time'] + $user->timezone + 3600 * date('I', $event_data['event_start_time']);
$event_end = $event_data['event_end_time'] + $user->timezone + 3600 * date('I', $event_data['event_start_time']);
Papa101 hat geschrieben:Ihr braucht euch kaum noch mühe geben. Ich stör ja nur ungern die Sommerzeit-Party, aber seht mal hier....
http://www.tagesschau.de/inland/zeitumstellung16.html
...aber wer´s trotsdem noch haben möchte...
Ich weiß ja nicht, ob sich da wer nen Aprilscherz draus gemacht hat =/Stand: 01.04.2008 00:01 Uhr