mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
time.cgi: add current date-time to this WebGUI page
- added words and date-time format to english (en.pl) - other languages are needed - seconds included since time is accurate to < .1s https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=2234e8aacac2e0d0b06dac4513585c15c2b3b440 Code-by: Leo-Andres Hofmann <hofmann@leo-andres.de> Signed-off-by: Jon Murphy <jon.murphy@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
6e5fa2dae1
commit
f561899b54
@@ -287,6 +287,10 @@ print <<END
|
||||
</table>
|
||||
END
|
||||
;
|
||||
|
||||
my $now = strftime($Lang::tr{'timeformat'}, localtime);
|
||||
print "<hr>$Lang::tr{'system time'}: $now";
|
||||
|
||||
&Header::closebox();
|
||||
&Header::openbox('100%',1,$Lang::tr{'ntp sync'});
|
||||
print <<END
|
||||
|
||||
Reference in New Issue
Block a user