silverstripe/silverstripe-blog — pull request #8 by fabeat (2012-01-08 14:13:24+00:00)
Title: Use SS_Datetime instead of Datetime

I tried to use my own Date format in a template using a custom Datetime-Class:

```php
Object::useCustomClass('SS_Datetime', 'LocalDatetime');
```

This worked for comments but not for the Blog-Post. I found out, that `DataObject` uses `SS_Datetime` for `Created` and `LastEdited`.

When I changed `Datetime` to `SS_Datetime` in `BlogEntry`, my template worked right.