2008-03-09 Raphael Ackermann <raphael.ackermann@gmail.com>
* 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. svn: r10242
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user