trying fixes
This commit is contained in:
parent
5a5768c5c4
commit
6d3cc305de
1 changed files with 2 additions and 2 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();
|
||||||
std::string eon = CI18N::get("uiEon").toUtf8();
|
ucstring 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,
|
||||||
dayName,
|
dayName,
|
||||||
year,
|
year,
|
||||||
eon.c_str());
|
eon.toUtf8());
|
||||||
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