mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Don't assume that the date split can be split
This commit is contained in:
@@ -99,9 +99,7 @@ print &ui_table_row($text{'index_time'},
|
||||
&ui_textbox("hour", undef, 2).":".&ui_textbox("min", "00", 2));
|
||||
|
||||
# Current date and time
|
||||
my ($date, $time) = split(/\s+/, &make_date(time()));
|
||||
print &ui_table_row($text{'index_cdate'}, $date);
|
||||
print &ui_table_row($text{'index_ctime'}, $time);
|
||||
print &ui_table_row($text{'index_cdatetime'}, &make_date(time()));
|
||||
|
||||
# Run in directory
|
||||
print &ui_table_row($text{'index_dir'},
|
||||
|
||||
@@ -10,8 +10,7 @@ index_exec=Run at
|
||||
index_created=Created on
|
||||
index_dir=Run in directory
|
||||
index_return=commands list
|
||||
index_cdate=Current date
|
||||
index_ctime=Current time
|
||||
index_cdatetime=Current date and time
|
||||
index_allow=Allowed scheduled command users
|
||||
index_amode=Users to allow
|
||||
index_amode0=All Unix users
|
||||
|
||||
Reference in New Issue
Block a user