Skip to content
Snippets Groups Projects
Commit a988fab1 authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

Second(time_t) added (again)

Rev: lib/modules/Calendar.pmod/Gregorian.pmod:1.13
parent 9752da18
No related branches found
No related tags found
No related merge requests found
......@@ -610,12 +610,6 @@ class Day
y=1900+t->year;
d=t->yday;
}
else if (sizeof(arg)==1)
{
mapping t=localtime(arg[0]);
y=1900+t->year;
d=t->yday;
}
else
{
y=arg[0];
......@@ -1173,6 +1167,12 @@ class Second
m=vMinute();
s=t->sec;
}
else if (sizeof(arg)==1)
{
mapping t=localtime(arg[0]);
y=1900+t->year;
d=t->yday;
}
else
{
if (!objectp(arg[0]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment