remove duplicate $date var
correct removal of $date var, remove extra html
Merge pull request #1 from gegere/bug/remove-dup

remove dup