mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
bugfixes
This commit is contained in:
parent
6d3cc305de
commit
aebed43da0
1 changed files with 5 additions and 5 deletions
|
@ -3068,12 +3068,12 @@ static void displayTime(const CRyzomTime &rt, NLMISC::CLog &log)
|
||||||
std::string week = toString("%03d", rt.getRyzomWeek());
|
std::string week = toString("%03d", rt.getRyzomWeek());
|
||||||
std::string dayName = CI18N::get("ui"+WEEKDAY::toString((WEEKDAY::EWeekDay) rt.getRyzomDayOfWeek())).toUtf8();
|
std::string dayName = CI18N::get("ui"+WEEKDAY::toString((WEEKDAY::EWeekDay) rt.getRyzomDayOfWeek())).toUtf8();
|
||||||
std::string year = rt.getRyzomYearStr().toUtf8();
|
std::string year = rt.getRyzomYearStr().toUtf8();
|
||||||
ucstring eon = CI18N::get("uiEon");
|
std::string eon = CI18N::get("uiEon");
|
||||||
result = NLMISC::toString("week:day:year:eon = %s:%s:%s:%s",
|
result = NLMISC::toString("week:day:year:eon = %s:%s:%s:%s",
|
||||||
week,
|
week.c_str(),
|
||||||
dayName,
|
dayName.c_str(),
|
||||||
year,
|
year.c_str(),
|
||||||
eon.toUtf8());
|
eon.c_str());
|
||||||
log.displayNL(result.c_str());
|
log.displayNL(result.c_str());
|
||||||
log.displayNL("day of year = %d/%d", (int) (rt.getRyzomDayOfYear() + 1), (int) RYZOM_YEAR_IN_DAY);
|
log.displayNL("day of year = %d/%d", (int) (rt.getRyzomDayOfYear() + 1), (int) RYZOM_YEAR_IN_DAY);
|
||||||
log.displayNL("season = %d/4 (%s)", (int) rt.getRyzomSeason() + 1, EGSPD::CSeason::toString(rt.getRyzomSeason()).c_str());
|
log.displayNL("season = %d/4 (%s)", (int) rt.getRyzomSeason() + 1, EGSPD::CSeason::toString(rt.getRyzomSeason()).c_str());
|
||||||
|
|
Loading…
Reference in a new issue