nette/database — pull request #19 by sasesade (2014-07-21 13:54:54+00:00)
Title: Normalize date columns saved as unix timestamp

While creating app with Sqlite database, date values are stored as unix timestamp. But this class cannot normalize unix timestamp value to Nette\Utils\DateTime, because Nette\Utils\DateTime::__construct doesn't accept unix timestamp.

This fix will check if value of date column is timestamp. If so, it will create Datetime object properly.