diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2013-05-29 19:20:12 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2013-05-29 19:20:12 +0100 |
commit | 711c103e77cf362b7222de5062127df2ffe7a1f1 (patch) | |
tree | ac3560365e81e0c528cce2a4e8dbd976294b80a3 /Doc/Zsh/calsys.yo | |
parent | a46aef770467e00a259f8215162bcc4e7cc7f1f0 (diff) | |
download | zsh-711c103e77cf362b7222de5062127df2ffe7a1f1.tar.gz zsh-711c103e77cf362b7222de5062127df2ffe7a1f1.tar.xz zsh-711c103e77cf362b7222de5062127df2ffe7a1f1.zip |
31422: better heuristic for timestamps in age function
Diffstat (limited to 'Doc/Zsh/calsys.yo')
-rw-r--r-- | Doc/Zsh/calsys.yo | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Doc/Zsh/calsys.yo b/Doc/Zsh/calsys.yo index b3eb454a0..7dc51ab11 100644 --- a/Doc/Zsh/calsys.yo +++ b/Doc/Zsh/calsys.yo @@ -665,10 +665,15 @@ Instead of an explicit date and time, it's possible to use the modification time of a file as the date and time for either argument by introducing the file name with a colon: +example(print *+LPAR()e-age :file1-+RPAR()) + +matches all files created on the same day (24 hours starting from +midnight) as tt(file1). + example(print *+LPAR()e-age :file1 :file2-+RPAR()) -This matches all files modified no earlier than tt(file1) and -no later than tt(file2). +matches all files modified no earlier than tt(file1) and +no later than tt(file2); precision here is to the nearest second. texinode(Calendar Styles)(Calendar Utility Functions)(Calendar System User Functions)(Calendar Function System) sect(Styles) |