]> git.mxchange.org Git - friendica.git/blobdiff - mod/localtime.php
Just some more fixed notice
[friendica.git] / mod / localtime.php
index 4920962a7b443d033ea32571f21c26c048654ca0..9a754ac80d9edddc07892840ea897b31b9a43849 100644 (file)
@@ -6,10 +6,9 @@
 use Friendica\App;
 use Friendica\Core\L10n;
 use Friendica\Core\System;
+use Friendica\Util\DateTimeFormat;
 use Friendica\Util\Temporal;
 
-require_once 'include/datetime.php';
-
 function localtime_post(App $a)
 {
        $t = $_REQUEST['time'];
@@ -31,7 +30,7 @@ function localtime_content(App $a)
                $t = 'now';
        }
 
-       $o .= '<h3>' . L10n::t('Time Conversion') . '</h3>';
+       $o  = '<h3>' . L10n::t('Time Conversion') . '</h3>';
 
        $o .= '<p>' . L10n::t('Friendica provides this service for sharing events with other networks and friends in unknown timezones.') . '</p>';