Fix AM/PM date format to work with FreeBSD

Pull request made to fix for all languages in vnstat_php_frontend git source as well.