Added timeformat support by madbyte / fix for the background