Make fix for datestr() function in blog.py instead of web.py