Modified to use datefield and datetimefields
Merge pull request #73 from praekelt/feature/issue-36-datetimefield

Modified to use datetimefield instead of  datetimefields