summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-08-13 22:57:40 +0200
committerPhilip Häusler <msquare@notrademark.de>2015-08-13 22:57:40 +0200
commit3d7e378b67807fe50bf893eed9de040dfdc7add3 (patch)
treefdb4b84b71e7d32d0350b947e29ea294ed294d20 /includes/pages
parent1cd6a4f4f65bc4f10835af59af3ac5e454e7f8be (diff)
change default end date on creating shifts
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/admin_shifts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/admin_shifts.php b/includes/pages/admin_shifts.php
index 5ff46fc9..df8a7e04 100644
--- a/includes/pages/admin_shifts.php
+++ b/includes/pages/admin_shifts.php
@@ -10,7 +10,7 @@ function admin_shifts() {
$rid = 0;
$start = DateTime::createFromFormat("Y-m-d H:i", date("Y-m-d") . " 00:00")->getTimestamp();
- $end = $start + 24 * 60 * 60;
+ $end = $start;
$mode = 'single';
$angelmode = 'manually';
$length = '';