silverstripe/sapphire — pull request #247 by sminnee (2012-03-16 02:08:20+00:00)
Title: Template global fixes

@hafriedlander - this is one for you to review. The TemplateGlobalProvider didn't let you create objects. I have attempted to solve that it and it both seems to work and passes the tests, but should probably still review it.

It means that we can make $Now a template global, and still have $Now.Year work.