diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-05-05 17:46:19 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-05-05 17:46:19 +0300 |
commit | 628837bf58f885225532b6c2de41b60ffa7c14e9 (patch) | |
tree | f05a2ad526edae084835e9a7a88712eae3e9b33c /awklib/eg | |
parent | c1d7f8b0dfa6264148c3369e46fbe68dd6add2dc (diff) | |
download | egawk-628837bf58f885225532b6c2de41b60ffa7c14e9.tar.gz egawk-628837bf58f885225532b6c2de41b60ffa7c14e9.tar.bz2 egawk-628837bf58f885225532b6c2de41b60ffa7c14e9.zip |
Doc edits, through Chapter 9.
Diffstat (limited to 'awklib/eg')
-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) |