Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Vanilla with posts dated 29, 30 and 31 December... 2009?!

fmimosofmimoso
edited January 2009 in Vanilla 1.0 Help
Not that it's very serious but my Vanilla installation dated all posts inserted on 29, 30 and 31 December as 2009?

You can check here.

Any idea why has this happened?

I've changed the date function to:

language/definitions.php
$Context->Dictionary['OldPostDateFormatCode'] = '%e %B %G';
library/Framework.Functions.php
	if ($Days > 7) {
return strftime($Context->GetDefinition('OldPostDateFormatCode'), $Time);
} elseif ($Days > 1) {
return str_replace('//1', $Days, $Context->GetDefinition('XDaysAgo'));
} elseif ($Days == 1) {
return str_replace('//1', $Days, $Context->GetDefinition('XDayAgo'));
} else {
Sign In or Register to comment.