fixed: app crashed when deployed to aws/mysql

In some deployment configurations app crashes because of the piece of code that tries to parse time string but the while actually receiving an object of class Time.