diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-07-12 23:20:39 -0700 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-07-12 23:20:39 -0700 |
commit | de3372f0d98c7137823e7d5630d03429bb77d1f2 (patch) | |
tree | 389fa3f5f107b3ca1178e6d7a65e66ff3644e29c /awklib/eg/lib/ctime.awk | |
parent | ebb6772e9eabeb81e3cc9305a6bec7adf7aad450 (diff) | |
parent | df2eaea6a92c7d89d604d0a4e885d064678ce3ed (diff) | |
download | egawk-de3372f0d98c7137823e7d5630d03429bb77d1f2.tar.gz egawk-de3372f0d98c7137823e7d5630d03429bb77d1f2.tar.bz2 egawk-de3372f0d98c7137823e7d5630d03429bb77d1f2.zip |
Merge branch 'master' into comment
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) |