Fixed time issues with loading from databse
Merge pull request #2 from hamchapman/master

Fixed time issues with loading from databse