summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e5098f8)
raw | patch | inline | side by side (parent: e5098f8)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 23 Aug 2002 04:42:43 +0000 (04:42 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 23 Aug 2002 04:42:43 +0000 (04:42 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@988 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/date.py | patch | blob | history |
diff --git a/roundup/date.py b/roundup/date.py
index e180e6c7b9e711d7cc9a4d45a01c66954f0a414e..14b09119f57409261dac9105ac494cc586230d2b 100644 (file)
--- a/roundup/date.py
+++ b/roundup/date.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: date.py,v 1.24 2002-08-21 07:07:27 richard Exp $
+# $Id: date.py,v 1.25 2002-08-23 04:42:43 richard Exp $
__doc__ = """
Date, time and time interval handling.
info = m.groupdict()
for group, attr in {'y':'year', 'm':'month', 'w':'week', 'd':'day',
'H':'hour', 'M':'minute', 'S':'second'}.items():
- if info.getr(group, None) is not None:
+ if info.get(group, None) is not None:
setattr(self, attr, int(info[group]))
if self.week:
#
# $Log: not supported by cvs2svn $
+# Revision 1.24 2002/08/21 07:07:27 richard
+# In preparing to turn back on link/unlink journal events (by default these
+# are turned off) I've:
+# - fixed back_anydbm so it can journal those events again (had broken it
+# with recent changes)
+# - changed the serialisation format for dates and intervals to use a
+# numbers-only (and sign for Intervals) string instead of tuple-of-ints.
+# Much smaller.
+#
# Revision 1.23 2002/07/18 23:07:08 richard
# Unit tests and a few fixes.
#