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
Add an end time placeholder to event templates. #60
Comments
Yes would like this. I use a 'endtime' custom field now with ACF plugin. |
Looks like @jbrandligt is working on this. See #136. |
slimndap
added a commit
that referenced
this issue
Jun 28, 2015
* issue-60: wpt_event.php is now PHP CodeSniffer approved. Improved the code of @jbrandligt: - Removed all PHP notices. - Fully deprecated WPT_Event::date() and WPT_Event::time(). - Complete the PHPDocs for the new methods. Startdate and enddate methods implemented too and some code cleanup. Date and and time methods are in fact identical to startdate_html and starttime_html methods but left for backward compatibility. Added tests that confirm the lack of support for {{starttime}}, {{startdate}}, {{endtime}} and {{enddate}} placeholders. See #60 and #136. Partial commit, starttime and endtime methods implemented, both text and html. startdate and enddate still to come. New approach on endtime method, work in progress... Add endtime field to wpt_events Conflicts: functions/wpt_event.php
slimndap
added a commit
that referenced
this issue
Jun 28, 2015
Fixes the HTML output for WPT_Event::datetime(); Closes #60.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perhaps something like this:
{{datetime('end')}}
and{{datetime('end')|date('H:i')}}
The text was updated successfully, but these errors were encountered: