X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flocaltime.php;h=9a754ac80d9edddc07892840ea897b31b9a43849;hb=db0b848ae30983b394847a5597c3f7c7332cfe7c;hp=4920962a7b443d033ea32571f21c26c048654ca0;hpb=5e7285b9ba3236e3c5b6163df323eefebbc8b20e;p=friendica.git diff --git a/mod/localtime.php b/mod/localtime.php index 4920962a7b..9a754ac80d 100644 --- a/mod/localtime.php +++ b/mod/localtime.php @@ -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 .= '

' . L10n::t('Time Conversion') . '

'; + $o = '

' . L10n::t('Time Conversion') . '

'; $o .= '

' . L10n::t('Friendica provides this service for sharing events with other networks and friends in unknown timezones.') . '

';