diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-05-05 17:50:23 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-05-05 17:50:23 +0300 |
commit | bce72232ae0d79d8af6b5aa1986b78c04d6c7c28 (patch) | |
tree | bcad4865c6a77e04b2cbd0cf203a0305cc16b281 /awklib/eg/lib/ctime.awk | |
parent | 989529069906ee419cf6fa370909ebc59e0db09e (diff) | |
parent | 628837bf58f885225532b6c2de41b60ffa7c14e9 (diff) | |
download | egawk-bce72232ae0d79d8af6b5aa1986b78c04d6c7c28.tar.gz egawk-bce72232ae0d79d8af6b5aa1986b78c04d6c7c28.tar.bz2 egawk-bce72232ae0d79d8af6b5aa1986b78c04d6c7c28.zip |
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'awklib/eg/lib/ctime.awk')
-rw-r--r-- | awklib/eg/lib/ctime.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/awklib/eg/lib/ctime.awk b/awklib/eg/lib/ctime.awk index f37856c6..ca750370 100644 --- a/awklib/eg/lib/ctime.awk +++ b/awklib/eg/lib/ctime.awk @@ -4,7 +4,7 @@ function ctime(ts, format) { - format = "%a %b %e %H:%M:%S %Z %Y" + format = PROCINFO["strftime"] if (ts == 0) ts = systime() # use current time as default return strftime(format, ts) |