Fixed timeformat bug in demo.