More implementation.

Modified intent of ts_db_records. timestamp value is no longer a
  {Date, Time} value, it is now gregorian seconds since year 0.
  This was done to make queries that are based on date comparisons
  easier to write and more efficient.
Added date time comparison function to ts_common.
Implemented update/1 and list/3 for ts_entry.
This commit is contained in:
Jonathan Bernard
2011-01-28 16:57:15 -06:00
parent 495336fc58
commit c04b73d9cc
4 changed files with 61 additions and 6 deletions

View File

@ -6,7 +6,7 @@
-record(ts_entry, {
ref, % {username, timelineid, eventid}
timestamp, % {{year, month, day}, {hour, minute, second}}
timestamp, % gregorian seconds
mark, % String description of entry
notes % String with further notes about the entry
}).