datetime handled in view_detail.
identation fixed.
identation fixed.
Merge pull request #48 from atsiddiqui/master

datetime handled in view_detail.