diff options
Fix default time format for multi-day appointments
As of commit 0791eaabca0fb1ef8a8675e47d701bbcde4d4a3f, we use strftime()
instead of apoint_sec2str() to format start and end dates of
appointments. "%H:%M" is the default strftime() format string used to
simulate apoint_sec2str(). However, apoint_sec2str() additionally checks
for intersection with the current day and displays "..:.." instead of
the actual time if the item doesn't start (end) at the current day. Add
an additional check to the new default time format and recreate the old
behavior for items starting before or ending after the current day.
Fixes BUG#3.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'scripts%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253d7fa1f0e2aa70a610d6de76e2194857b2ddc36b18%2525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525253d7fa1f0e2aa70a610d6de76e2194857b2ddc36b18%25252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525253d7fa1f0e2aa70a610d6de76e2194857b2ddc36b18%252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%2525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%25252525252525252525252525252525253fid%25252525252525252525252525252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%252525252525252525252525252525253fid%252525252525252525252525252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%2525252525252525252525252525253fid%2525252525252525252525252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%25252525252525252525252525253fid%25252525252525252525252525253d7bec0d47ee2b4a0438e83c15dd152e531e334a46%252525252525252525252525253fid%252525252525252525252525253d7bec0d47ee2b4a0438e83c15dd152e531e334a46%2525252525252525252525253fid%2525252525252525252525253d7bec0d47ee2b4a0438e83c15dd152e531e334a46%25252525252525252525253fid%25252525252525252525253d7bec0d47ee2b4a0438e83c15dd152e531e334a46&id2%25252525252525252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%252525252525252525253fid%252525252525252525253d7bec0d47ee2b4a0438e83c15dd152e531e334a46%2525252525252525253fid%2525252525252525253d7bec0d47ee2b4a0438e83c15dd152e531e334a46&id2%2525252525252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%25252525252525253fid%25252525252525253d7bec0d47ee2b4a0438e83c15dd152e531e334a46%252525252525253fid%252525252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%2525252525253fid%2525252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%25252525253fid%25252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d&id2%25252525253d9719de8ea3a88f2968378ff213202737dc9f3dda%252525253fid%252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%2525253fid%2525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d&id2%2525253d9719de8ea3a88f2968378ff213202737dc9f3dda%25253fid%25253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%253fid%253d9719de8ea3a88f2968378ff213202737dc9f3dda%3fid%3d9719de8ea3a88f2968378ff213202737dc9f3dda?id=94a5d4cb1bc6a8f09995182dc9f07e4156255a8e')
0 files changed, 0 insertions, 0 deletions