fix code typo
add location field, check for time before outputting it

use HTML5 datetime attribute