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

foo! Day(time_t) added again..

Rev: lib/modules/Calendar.pmod/Gregorian.pmod:1.12
parent 89741b55
Branches
Tags
No related merge requests found
......@@ -587,12 +587,6 @@ class Day
//-- variables ------------------------------------------------------
int y;
int d;
......@@ -616,6 +610,12 @@ 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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment