diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-21 11:42:07 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-21 12:10:51 +0200 |
commit | 94a5d4cb1bc6a8f09995182dc9f07e4156255a8e (patch) | |
tree | f12c9caacfaa36d613de9a525feab007547ef38a /%252525253fid%252525253d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e%2525253fid%2525253d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e&id2%2525253dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae%25253fid%25253d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e&id2%25253dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae%253fid%253d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e%3fid%3d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e&id2%3dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae?id=94a5d4cb1bc6a8f09995182dc9f07e4156255a8e | |
parent | cfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae (diff) |
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 '%252525253fid%252525253d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e%2525253fid%2525253d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e&id2%2525253dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae%25253fid%25253d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e&id2%25253dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae%253fid%253d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e%3fid%3d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e&id2%3dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae?id=94a5d4cb1bc6a8f09995182dc9f07e4156255a8e')
0 files changed, 0 insertions, 0 deletions