-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events: Better date for the table. #1131
Conversation
'<time class="wporg-marker-list-item__date-time" date-time="%1$s" title="%1$s"><span class="wporg-google-map__date">%2$s</span><span class="wporg-google-map__time">%3$s</span></time>', | ||
gmdate( 'c', esc_html( $event->timestamp ) ), | ||
gmdate( 'l, M j', esc_html( $event->timestamp ) ), | ||
esc_html( gmdate('H:i', $event->timestamp) . ' (UTC-0)' ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(UTC-0)
is a bit useless and maybe it should just be UTC
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree
public_html/wp-content/themes/wporg-events-2023/postcss/blocks/wporg-google-map.pcss
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one suggestion
…/wporg-google-map.pcss Co-authored-by: Adam Wood <[email protected]>
This PR improves the default date (which we hope to switch out with the user locale date) to match the designs.
Design: https://www.figma.com/file/jdMk5ssz2Av7KFfEaeK7de/Events?node-id=1617%3A14095&mode=dev
I did make a couple of choices here:
Screenshots
How to test the changes in this Pull Request: