Logs: Fix error with dates on some browsers