aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-date.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-05-10 04:11:01 +0800
committerChris Lahey <clahey@src.gnome.org>2001-05-10 04:11:01 +0800
commitd6c788a6b04b945477317837b77de0a107aa1987 (patch)
tree4de26b9b3fd5330e862f0fe9a73ac92b2cd2ef9e /widgets/table/e-cell-date.c
parent7630f3612db8ca20ad91eeaebbed17f887763e14 (diff)
downloadgsoc2013-evolution-d6c788a6b04b945477317837b77de0a107aa1987.tar
gsoc2013-evolution-d6c788a6b04b945477317837b77de0a107aa1987.tar.gz
gsoc2013-evolution-d6c788a6b04b945477317837b77de0a107aa1987.tar.bz2
gsoc2013-evolution-d6c788a6b04b945477317837b77de0a107aa1987.tar.lz
gsoc2013-evolution-d6c788a6b04b945477317837b77de0a107aa1987.tar.xz
gsoc2013-evolution-d6c788a6b04b945477317837b77de0a107aa1987.tar.zst
gsoc2013-evolution-d6c788a6b04b945477317837b77de0a107aa1987.zip
Show the date for dates in the future.
2001-05-09 Christopher James Lahey <clahey@ximian.com> * e-cell-date.c (ecd_get_text): Show the date for dates in the future. * e-tree-memory.c, e-tree-memory.h (e_tree_memory_set_node_destroy_func): New function which gets called on the data for every node removed from the tree. svn path=/trunk/; revision=9733
Diffstat (limited to 'widgets/table/e-cell-date.c')
-rw-r--r--widgets/table/e-cell-date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-cell-date.c b/widgets/table/e-cell-date.c
index 00d5ca00aa..c8e2dd5f09 100644
--- a/widgets/table/e-cell-date.c
+++ b/widgets/table/e-cell-date.c
@@ -34,7 +34,7 @@ ecd_get_text(ECellText *cell, ETableModel *model, int col, int row)
localtime_r (&date, &then);
localtime_r (&nowdate, &now);
- if (nowdate - date < 60 * 60 * 8) {
+ if (nowdate - date < 60 * 60 * 8 && nowdate > date) {
strftime (buf, 26, _("%l:%M %p"), &then);
done = TRUE;
}