diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-09-05 08:34:27 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-09-05 08:34:27 +0000 |
commit | 8cfe028631f509b2a9ecb8dddc2ab435dd6e5b59 (patch) | |
tree | 8e34909fc1e21779c09e84a56e4b7e2d140fb37d /Functions/Calendar/calendar | |
parent | e85760e05e90b062a3695f66ba5747dee02c3444 (diff) | |
download | zsh-8cfe028631f509b2a9ecb8dddc2ab435dd6e5b59.tar.gz zsh-8cfe028631f509b2a9ecb8dddc2ab435dd6e5b59.tar.xz zsh-8cfe028631f509b2a9ecb8dddc2ab435dd6e5b59.zip |
unposted: fix recurring calendar event format in calendar
Diffstat (limited to 'Functions/Calendar/calendar')
-rw-r--r-- | Functions/Calendar/calendar | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Functions/Calendar/calendar b/Functions/Calendar/calendar index b5df2ca72..7dec84e28 100644 --- a/Functions/Calendar/calendar +++ b/Functions/Calendar/calendar @@ -317,6 +317,9 @@ fi if (( shown && repeating )); then # Done and dusted, but a repeated event is due. strftime -s newdate $datefmt $repeattime + if [[ $newdate != *[[:space:]] && $restline != [[:space:]]* ]]; then + newdate+=" " + fi calendar_addlines+=("$newdate$restline") # We'll add this back in below, but we check in case the |