aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-05 01:58:27 -0700
committerfriendica <info@friendica.com>2014-09-05 01:58:27 -0700
commitdd7d0c4156a28cfc820700d3ba7b45bcbf58bf2e (patch)
treede84c27eb9f36946df8af17beeeb3bf515792d16 /mod/events.php
parenta0b3ddca40e51fc996c983410b1323f227326f08 (diff)
downloadvolse-hubzilla-dd7d0c4156a28cfc820700d3ba7b45bcbf58bf2e.tar.gz
volse-hubzilla-dd7d0c4156a28cfc820700d3ba7b45bcbf58bf2e.tar.bz2
volse-hubzilla-dd7d0c4156a28cfc820700d3ba7b45bcbf58bf2e.zip
more work on the event edit form
Diffstat (limited to 'mod/events.php')
-rwxr-xr-xmod/events.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/events.php b/mod/events.php
index f3bf97141..e5250e8f8 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -470,6 +470,7 @@ function events_content(&$a) {
$shour = ((x($orig_event)) ? datetime_convert('UTC', $tz, $sdt, 'H') : 0);
$sminute = ((x($orig_event)) ? datetime_convert('UTC', $tz, $sdt, 'i') : 0);
$stext = datetime_convert('UTC',$tz,$sdt);
+ $stext = substr($stext,0,14) . "00:00";
$fyear = datetime_convert('UTC', $tz, $fdt, 'Y');
$fmonth = datetime_convert('UTC', $tz, $fdt, 'm');
@@ -478,6 +479,7 @@ function events_content(&$a) {
$fhour = ((x($orig_event)) ? datetime_convert('UTC', $tz, $fdt, 'H') : 0);
$fminute = ((x($orig_event)) ? datetime_convert('UTC', $tz, $fdt, 'i') : 0);
$ftext = datetime_convert('UTC',$tz,$fdt);
+ $ftext = substr($ftext,0,14) . "00:00";
$f = get_config('system','event_input_format');
if(! $f)