'uk' => '%d/%m/%Y', 'uk_short' => '%m/%d', 'uk_named' => '%B %d %Y', 'uk_full' => '%I:%M %p, %B %d %Y',
echo \Date::factory($subscription->expiry_date)->format();?>
Jelmer Schreuder wrote on Tuesday 19th of July 2011:Seems you found something of a bug, still this would work: \Date::factory($subscription->expiry_date)->format('uk'); I just fixed it: To change the default timezone you have to change the pattern for the 'local' key, this is the default that's used when no pattern or named pattern was given to Date::format().
It looks like you're new here. If you want to get involved, click one of these buttons!