fixed bugs about date functions on sys/log.php