mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Change the value of number of secs in a year to be 31557600 for Duration() with 'y' value. This is 365.25 days slightly more accurate than 365 days.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9930 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
b0bda49801
commit
a77e13baaa
@ -234,9 +234,9 @@ const int duration_multi[] =
|
|||||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||||
1, 1, 1, 1, 1, 1, 1, 1, 86400, 1, 1, 1, 3600,
|
1, 1, 1, 1, 1, 1, 1, 1, 86400, 1, 1, 1, 3600,
|
||||||
1, 1, 1, 1, 60, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
1, 1, 1, 1, 60, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||||
604800, 1, 31536000, 1, 1, 1, 1, 1, 1, 1, 1,
|
604800, 1, 31557600, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||||
1, 1, 86400, 1, 1, 1, 3600, 1, 1, 1, 1, 60,
|
1, 1, 86400, 1, 1, 1, 3600, 1, 1, 1, 1, 60,
|
||||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 604800, 1, 31536000,
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 604800, 1, 31557600,
|
||||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user