diff --git a/ChangeLog b/ChangeLog index 98c360d66..f86ec2695 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-03-09 Raphael Ackermann + * src/gen/lib/data.py (Date.get_sort_value):Add updated description to + what a sortval is. Also add reference to Julian Day on Wikipedia. + 2008-03-09 Douglas S. Blank * src/ReportBase/_WebReportDialog.py: * src/ReportBase/_ReportDialog.py: @@ -35,7 +39,7 @@ * src/plgins/NotRelated.py: Issue #1795 author information update * src/plgins/rel_sv.py: Fixed issues #1881 and 1910 -2008-03-05 Raphael Ackermann +2008-03-07 Raphael Ackermann * src/data/Makefile.am: add new css files and delete old ones. * src/images/Makefile.am: add new images for Narrative web report 0001912: make fails diff --git a/src/gen/lib/date.py b/src/gen/lib/date.py index 23776df84..53d6db178 100644 --- a/src/gen/lib/date.py +++ b/src/gen/lib/date.py @@ -540,8 +540,10 @@ class Date: calculated sort date is returned. The sort date is rebuilt on every assignment. - The sort value is an integer representing the value. A date of - March 5, 1990 would have the value of 19900305. + The sort value is an integer representing the value. The sortval is + the integer number of days that have elapsed since Monday, January 1, + 4713 BC in the proleptic Julian calendar. + See http://en.wikipedia.org/wiki/Julian_day """ return self.sortval