Fixed a date problem where the ^D macro was not working properly.
This commit is contained in:
parent
b2edd00fa8
commit
ef533cc56e
2 changed files with 11 additions and 13 deletions
|
|
@ -18,11 +18,7 @@ use WebGUI::Macro;
|
|||
sub _replacement {
|
||||
my (@param, $temp);
|
||||
@param = WebGUI::Macro::getParams($_[0]);
|
||||
if ($param[0] ne "") {
|
||||
$temp = epochToHuman(time(),$param[0]);
|
||||
} else {
|
||||
$temp = localtime(time());
|
||||
}
|
||||
$temp = epochToHuman(time(),$param[0]);
|
||||
return $temp;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue