Split date types into calendar and economy dates

See: 735abfe1
This commit is contained in:
Jonathan G Rennison
2024-02-13 21:34:09 +00:00
parent fad5ee56e7
commit 7ce06e22b8
141 changed files with 1325 additions and 1082 deletions

View File

@@ -145,7 +145,7 @@ struct PlanLine {
struct Plan : PlanPool::PoolItem<&_plan_pool> {
Owner owner;
Colours colour;
Date creation_date;
CalTime::Date creation_date;
PlanLineVector lines;
PlanLine *temp_line;
std::string name;
@@ -157,7 +157,7 @@ struct Plan : PlanPool::PoolItem<&_plan_pool> {
Plan(Owner owner = INVALID_OWNER)
{
this->owner = owner;
this->creation_date = _date;
this->creation_date = CalTime::CurDate();
this->visible = false;
this->visible_by_all = false;
this->show_lines = false;