aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
authorjwangen <jwangen>2002-10-27 18:48:05 +0000
committerjwangen <jwangen>2002-10-27 18:48:05 +0000
commit43b52d418a7dbc92b87071eceb1f1b6d72e4be53 (patch)
treea370dc22d4e6e6a34677ecf2ddccc2c3059d6380 /day.php
parentb3e4fe36169086d73e256d8c03d0b0340128efcc (diff)
downloadphpicalendar-43b52d418a7dbc92b87071eceb1f1b6d72e4be53.tar.gz
phpicalendar-43b52d418a7dbc92b87071eceb1f1b6d72e4be53.tar.bz2
phpicalendar-43b52d418a7dbc92b87071eceb1f1b6d72e4be53.zip
Fixed bug where 0000 wasn't showing up and updated dutch translation
Diffstat (limited to 'day.php')
-rw-r--r--day.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/day.php b/day.php
index 61b9cfa..e2e2d57 100644
--- a/day.php
+++ b/day.php
@@ -153,8 +153,9 @@ if (is_array($master_array[($getdate)])) {
$event_length = array ();
$border = 0;
foreach ($day_array as $key) {
- $cal_time = $key;
- $key = strtotime ($key);
+ ereg('([0-9]{2})([0-9]{2})', $key, $regs_tmp);
+ $cal_time = $key;
+ $key = mktime($regs_tmp[1],$regs_tmp[2],0,$this_month,$this_day,$this_year);
$key = date ($timeFormat, $key);
unset($this_time_arr);

© 2014-2024 Faster IT GmbH | imprint | privacy policy