Extract the datetime formats in the DateString class to class constants #554
Labels
contributors-welcome
Want something to do? Look here!
good first issue
Good for newcomers
hacktoberfest
This would make it easier for those who build sites using the Framework to display date formats in the same format as Hyde does.
So for example, instead of
$this->dateTimeObject->format('M jS, Y');
we'd use$this->dateTimeObject->format(self::SHORT_FORMAT);
The constants should be public class members of the DateString class.
The text was updated successfully, but these errors were encountered: