nette/utils — pull request #6 by redhead (2014-04-10 09:40:47+00:00)
Title: DateTime: createFromFormat() returns Nette\Utils\DateTime instance

Static factory method `createFromFormat()` now returns `Nette\Utils\DateTime` instance instead of PHP's `\DateTime`.

This fixes somewhat unexpected behaviour when calling factory method on a `Nette\Utils\DateTime` class and receiving an instance of different class.

Closes nette/nette#1258.