trying fixes

This commit is contained in:
SIELA1915 2016-01-31 20:42:07 +01:00
parent 5a5768c5c4
commit 6d3cc305de

View file

@ -3068,12 +3068,12 @@ static void displayTime(const CRyzomTime &rt, NLMISC::CLog &log)
std::string week = toString("%03d", rt.getRyzomWeek());
std::string dayName = CI18N::get("ui"+WEEKDAY::toString((WEEKDAY::EWeekDay) rt.getRyzomDayOfWeek())).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",
week,
dayName,
year,
eon.c_str());
eon.toUtf8());
log.displayNL(result.c_str());
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());