26 lines
789 B
PHP
26 lines
789 B
PHP
<?php
|
|
/**
|
|
* Post date template part.
|
|
*
|
|
* 🚫🚫🚫
|
|
* DO NOT EDIT THIS FILE WHILE INSIDE THE PLUGIN! Changes You make will be lost when a new version
|
|
* of the AMP plugin is released. You need to copy this file out of the plugin and put it into your
|
|
* custom theme, for example. To learn about how to customize these Reader-mode AMP templates, please
|
|
* see: https://amp-wp.org/documentation/how-the-plugin-works/classic-templates/
|
|
* 🚫🚫🚫
|
|
*
|
|
* @package AMP
|
|
*/
|
|
|
|
/**
|
|
* Context.
|
|
*
|
|
* @var AMP_Post_Template $this
|
|
*/
|
|
|
|
?>
|
|
<div class="amp-wp-meta amp-wp-posted-on">
|
|
<time datetime="<?php echo esc_attr( date( 'c', $this->get( 'post_publish_timestamp' ) ) ); ?>">
|
|
<?php echo esc_attr( date( 'd.m.Y H:i', $this->get( 'post_publish_timestamp' ) ) ); ?>
|
|
</time>
|
|
</div>
|