יחידה:תאריך: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מאין תקציר עריכה |
||
| שורה 567: | שורה 567: | ||
end | end | ||
elseif self.precision == Date.PRECISION.YEAR100 then | elseif self.precision == Date.PRECISION.YEAR100 then | ||
if year>0 then | if year>0 then | ||
return 'המאה ה־'.. math.ceil(self.year/100) | |||
else | |||
return 'המאה ה־'.. math.ceil(-self.year/100) ..' לפנה״ס' | |||
end | end | ||
elseif self.precision == Date.PRECISION.YEAR10 then | elseif self.precision == Date.PRECISION.YEAR10 then | ||