Timeline for Change article date format
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 15, 2020 at 9:13 | history | edited | CommunityBot |
Commonmark migration
|
|
Jan 7, 2016 at 17:47 | comment | added | Chris | Thanks darol100, this was quite useful in helping me learn about Twig filters. Ultimately, however, I went with using the format_date filter that Drupal provides (as I show in my answer). | |
Jan 6, 2016 at 10:57 | comment | added | itsdarrylnorris |
Yes, but is uses PHP template instead of twig syntax. It should looks something too this <?php print format_date($node->created, 'custom', 'm/d/y'); ?> .
|
|
Jan 6, 2016 at 10:53 | comment | added | user16289 | Thumbed up! darol100, Can this be done in TPL files in a same manner for someone with Drupal 7 site? | |
Jan 6, 2016 at 10:49 | history | answered | itsdarrylnorris | CC BY-SA 3.0 |