fuel/core — Issue #787: Date class to use PHP's DateTime
Author: WanWizard
Created: 2012-01-24 23:10:09+00:00
State: open
Labels: Awaiting feedback, Feature, Pending

The current Date implementation is based on PHP's "old" procedural functions for parsing dates, which is troublesome on Windows. Emulating strptime() only works with US dates, as the format is ignored.

Why not use PHP's DateTime class for this? It can handle everything, and is fully supported on Windows.

Downside, the old strftime() formats no longer work, and have to be replaced by new formats supprted by CreateFromFormat().