tz_manager: Warn on unimplemented code

This commit is contained in:
lat9nq 2023-06-03 20:53:25 -04:00
parent dea61f5d00
commit 78a47f1ee8
1 changed files with 7 additions and 0 deletions

View File

@ -474,6 +474,13 @@ static bool ParsePosixName(const char* name, TimeZoneRule& rule) {
their_std_offset = their_offset;
}
}
if (rule.time_count > 0) {
UNIMPLEMENTED();
// TODO (lat9nq): Implement eggert/tz/localtime.c:tzparse:1329
// Seems to be unused in yuzu for now: I never hit the UNIMPLEMENTED in testing
}
rule.ttis[0].gmt_offset = -std_offset;
rule.ttis[0].is_dst = false;
rule.ttis[0].abbreviation_list_index = 0;