mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-18 11:31:16 +02:00
@@ -57,11 +57,7 @@ foreach($periodIterator as $date)
|
||||
{% endhighlight %}
|
||||
|
||||
* [Read about DateTime][datetime]
|
||||
* [Read about DateInterval][dateinterval]
|
||||
* [Read about DatePeriod][dateperiod]
|
||||
* [Read about date formatting][dateformat] (accepted date format string options)
|
||||
|
||||
[datetime]: http://www.php.net/manual/language.exceptions.php
|
||||
[dateinterval]: http://www.php.net/manual/class.dateinterval.php
|
||||
[dateperiod]: http://www.php.net/manual/class.dateperiod.php
|
||||
[datetime]: http://www.php.net/manual/book.datetime.php
|
||||
[dateformat]: http://www.php.net/manual/function.date.php
|
||||
|
@@ -11,6 +11,8 @@ description: "An easy-to-read, quick reference for PHP best practices, accepted
|
||||
{% if post.isChild != true and loop.first != true %}
|
||||
{{ backtotop|markdownify }}
|
||||
{% endif %}
|
||||
<div id="{{ post.title | downcase | replace:' ','_' | replace:'(','' | replace:')','' | replace:'.','' | replace:'-','' }}">
|
||||
{{ post.content }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{{ backtotop|markdownify }}
|
||||
|
Reference in New Issue
Block a user