Co-authored-by: kang <1115610574@qq.com>
This commit is contained in:
PoplarYang 2022-05-17 18:07:22 +08:00 committed by GitHub
parent 3cf8bdfe46
commit 232900349a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1154,10 +1154,10 @@ date -d"1 day ago" +"%F %H:%M:%S"
date -d"-1 day ago" +"%F %H:%M:%S" date -d"-1 day ago" +"%F %H:%M:%S"
# get this time 7 days ago # get this time 7 days ago
date -d"1 week ago" +"%F %H:%M:%S" date -d"7 days ago" +"%F %H:%M:%S"
# get this time a week ago # get this time a week ago
date -d"7 day ago" +"%F %H:%M:%S" date -d"1 week ago" +"%F %H:%M:%S"
``` ```
##### wait for random duration (e.g. sleep 1-5 second, like adding a jitter) ##### wait for random duration (e.g. sleep 1-5 second, like adding a jitter)