Fixed the datetime error
Merge pull request #7 from toplog/toplogger_class

Fixed the datetime error