Jul 01, 2008, 10:50 PM
Labrocca, I'm attempting to change the perm ban to a temp one. To test, I've added a week to the time function. Here is what I replaced "perm" with:
That time equates to a week in the future. I'm able to ban a user, but when I look in the ACP, I'm told the user was banned "today" and the ban is lifted "today" with remaining time in the negative at -337491 hours. There are only 168 hours in a week, and it shouldn't be negative, should it? Also, when I go to edit the ban, only 1 day is listed as the ban time.
Code:
time() + 604800That time equates to a week in the future. I'm able to ban a user, but when I look in the ACP, I'm told the user was banned "today" and the ban is lifted "today" with remaining time in the negative at -337491 hours. There are only 168 hours in a week, and it shouldn't be negative, should it? Also, when I go to edit the ban, only 1 day is listed as the ban time.
