limit entries width to 800px
use time.localtime() instead of time.gmtime()