Lino Website

code changes

lots of changes

Friday, 28. January 2005 19:00.

Im Endspurt vor dem Karneval in Eupen will ich Raceman so weit wie möglich bringen.

forms.py : Navigator is now an abstract class, inherited by DataNavigator (the former Navigator) and also DataGrid. They both call the setupMenu() method of their leadTable. TODO: if a form contains more than one Navigator, only one of them must call setupMenu(). How to decide, which one? The first one?

Adamo now uses the Python datetime module instead of normalDate to hold dates. See datatypes DATE, TIME and new DURATION.

DATE values are now stored in SQL using date.toordinal(). This is also an INT (as before) but a different implementation: for example 20040322 becomes 731662.

Times and durations are stored in SQL as strings. New lino:tests/38.py to test them.

Copyright 2001-2007 Luc Saffre.
http://lino.saffre-rumma.ee
Generated 2007-06-07 16:22:21