namespace PT renamed to pt
This commit is contained in:
@@ -87,45 +87,45 @@ void current_date_utc(Info & i)
|
||||
|
||||
void current_sec(Info & i)
|
||||
{
|
||||
PT::Date date = system->ToLocal(cur->request->start_date);
|
||||
pt::Date date = system->ToLocal(cur->request->start_date);
|
||||
i.out << date.sec;
|
||||
}
|
||||
|
||||
void current_min(Info & i)
|
||||
{
|
||||
PT::Date date = system->ToLocal(cur->request->start_date);
|
||||
pt::Date date = system->ToLocal(cur->request->start_date);
|
||||
i.out << date.min;
|
||||
}
|
||||
|
||||
void current_hour(Info & i)
|
||||
{
|
||||
PT::Date date = system->ToLocal(cur->request->start_date);
|
||||
pt::Date date = system->ToLocal(cur->request->start_date);
|
||||
i.out << date.hour;
|
||||
}
|
||||
|
||||
|
||||
void current_day(Info & i)
|
||||
{
|
||||
PT::Date date = system->ToLocal(cur->request->start_date);
|
||||
pt::Date date = system->ToLocal(cur->request->start_date);
|
||||
i.out << date.day;
|
||||
}
|
||||
|
||||
void current_month(Info & i)
|
||||
{
|
||||
PT::Date date = system->ToLocal(cur->request->start_date);
|
||||
pt::Date date = system->ToLocal(cur->request->start_date);
|
||||
i.out << date.month;
|
||||
}
|
||||
|
||||
void current_year(Info & i)
|
||||
{
|
||||
PT::Date date = system->ToLocal(cur->request->start_date);
|
||||
pt::Date date = system->ToLocal(cur->request->start_date);
|
||||
i.out << date.year;
|
||||
}
|
||||
|
||||
|
||||
void current_date(Info & i)
|
||||
{
|
||||
PT::Date date = system->ToLocal(cur->request->start_date);
|
||||
pt::Date date = system->ToLocal(cur->request->start_date);
|
||||
i.out << date;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user