expressive-date icon indicating copy to clipboard operation
expressive-date copied to clipboard

README.md example output dates not matching the default format

Open clouddueling opened this issue 11 years ago • 0 comments

The default format is: protected $defaultDateFormat = 'jS F, Y \a\\t g:ia';

https://github.com/jasonlewis/expressive-date/blob/master/src/ExpressiveDate.php#L36

But the README.md says the time looks like: $date->startOfWeek(); // 26th November, 2012 at 12:00 AM

Shouldn't it be?: $date->startOfWeek(); // 26th November, 2012 at 12:00am

This tripped me up a bit when I was TDDin of my classes.

clouddueling avatar Dec 31 '13 20:12 clouddueling