# HG changeset patch # User Matti Hamalainen # Date 1612454563 -7200 # Node ID 543f1d72361e5f16d965d237290e5b55ce3dcec9 # Parent 577763cb88640be107aa6ef20c54d105c9ce8472 utillib: Cleanup. diff -r 577763cb8864 -r 543f1d72361e utillib.tcl --- a/utillib.tcl Thu Feb 04 18:01:31 2021 +0200 +++ b/utillib.tcl Thu Feb 04 18:02:43 2021 +0200 @@ -120,11 +120,11 @@ # Return formatted time string for given UNIX timestamp -proc utl_ctime {utime} { - if {$utime == "" || $utime == "*"} { - set utime 0 +proc utl_ctime {ustamp} { + if {$ustamp == "" || $ustamp == "*"} { + set ustamp 0 } - return [clock format $utime -format "%d.%m.%Y %H:%M"] + return [clock format $ustamp -format "%d.%m.%Y %H:%M"] }