X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flocaltime.php;h=d1453bc5272bd3cf2aa5ad8017853c75fdc44a85;hb=0c9cc29a51941eb572bf16fd5489d0947d47d033;hp=f5ecf3a961bb00b9fbb8b107e27d947099daebbd;hpb=2f5a34ad1791f01cacb3b86c11501f0e11c67df4;p=friendica.git diff --git a/mod/localtime.php b/mod/localtime.php index f5ecf3a961..d1453bc527 100644 --- a/mod/localtime.php +++ b/mod/localtime.php @@ -23,19 +23,24 @@ function localtime_content(&$a) { $o .= '
' . t('Friendika provides this service for sharing events with other networks and friends in unknown timezones.') . '
'; + $o .= '' . t('Friendica provides this service for sharing events with other networks and friends in unknown timezones.') . '
'; + + $o .= '' . sprintf( t('UTC time: %s'), $t) . '
'; + + if($_REQUEST['timezone']) + $o .= '' . sprintf( t('Current timezone: %s'), $_REQUEST['timezone']) . '
'; + if(x($a->data,'mod-localtime')) $o .= '' . sprintf( t('Converted localtime: %s'),$a->data['mod-localtime']) . '
'; - $o .= '' . sprintf( t('UTC time: %s'), $t) . '
'; $o .= '';