Skip to content

Commit

Permalink
Revert "Events: Convert event-list timestamp."
Browse files Browse the repository at this point in the history
This reverts commit c7f5f95.
  • Loading branch information
renintw committed Dec 6, 2023
1 parent 6facbfb commit 52e6b43
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@
}
},
"editorScript": "file:./index.js",
"style": "file:./style-index.css",
"viewScript": "file:./view.js"
"style": "file:./style-index.css"
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function render( $attributes, $content, $block ) {
$content .= '<li class="wporg-marker-list-item">';
$content .= '<h3 class="wporg-marker-list-item__title"><a class="external-link" href="' . esc_url($event->url) . '">' . esc_html($event->title) . '</a></h3>';
$content .= '<div class="wporg-marker-list-item__location">' . esc_html($event->location) . '</div>';
$content .= '<div class="wporg-marker-list-item__date-time" data-wc-events-list-timestamp="' . esc_html( $event->timestamp ) . '"></div>';
$content .= '<div class="wporg-marker-list-item__date-time">' . esc_html( $event->timestamp ) . '</div>';
$content .= '</li>';
}

Expand Down

This file was deleted.

0 comments on commit 52e6b43

Please sign in to comment.