Dates

From SharedTree Wiki

Jump to: navigation, search

Dates in SharedTree should always be according to the Gregorian calendar. We will add support for storing the date in other calendars later.

Other Calendars

There are several calendars that SharedTree will support in its Calendar type field (see todo list below).

  • Gregorian (this is the default, so it's not included in the Other calendar drop down)
  • Julian - the predecessor to the Gregorian calendar
  • Islamic
  • Hebrew

References

Todo

Add two new fields to record non-Gregorian dates

  • tree_event.original_date_type char(1) which will include the type of calendar used
  • tree_event.original_date_text varchar(20) which will include the date using the calendar above. This is a text field because no calculations are actually done on it. We only use the gregorian date field for calculations.
Personal tools