fix: take into account hours when calculating a relative timezone dst

This commit is contained in:
2023-12-27 16:25:54 +01:00
parent 09dc6782c8
commit 71ad4869ce
2 changed files with 7 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ public:
DstDate();
void Clear();
int Compare(const pt::Date & utc_date) const;
static pt::Date CalculateRelativeDate(int year, int month, bool is_first, int weekday);
static pt::Date CalculateRelativeDate(int year, int month, bool is_first, int weekday, int hour, int min, int sec);
};