bin/werclib.rc: fn ndate: convert seconds to date when seconds is provided as the second argument.
This commit is contained in:
parent
831c77bf3b
commit
411eef1ab3
1 changed files with 4 additions and 1 deletions
|
|
@ -121,7 +121,10 @@ fn get_file_title {
|
|||
}
|
||||
|
||||
fn ndate {
|
||||
date=`{date}
|
||||
if(~ $#* 7)
|
||||
date=$*(2-)
|
||||
if not
|
||||
date=`{date}
|
||||
switch($date(2)){
|
||||
case Jan; mo=01
|
||||
case Feb; mo=02
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue