Skip to content

Add endtime field to wpt_events#136

Closed
jbrandligt wants to merge 4 commits into
slimndap:masterfrom
jbrandligt:feature/endtime
Closed

Add endtime field to wpt_events#136
jbrandligt wants to merge 4 commits into
slimndap:masterfrom
jbrandligt:feature/endtime

Conversation

@jbrandligt

Copy link
Copy Markdown
Contributor

No description provided.

…and html. startdate and enddate still to come.
@jbrandligt

Copy link
Copy Markdown
Contributor Author

Hey, I did a partial commit of my work so far. Could you have a look and tell me if this is what you had in mind?

@slimndap

Copy link
Copy Markdown
Owner

And yes: this is what I had in mind.

@jbrandligt

Copy link
Copy Markdown
Contributor Author

Ok cool, I'll clean up the code and implement the date methods too then.

slimndap added a commit that referenced this pull request Jun 26, 2015
…rtdate}}, {{endtime}} and {{enddate}} placeholders.

See #60 and #136.
…Date and and time methods are in fact identical to startdate_html and starttime_html methods but left for backward compatibility.
@slimndap

Copy link
Copy Markdown
Owner

I just merged your code back into mine.

@jbrandligt

Copy link
Copy Markdown
Contributor Author

Sweet!

@slimndap

Copy link
Copy Markdown
Owner

slimndap added a commit that referenced this pull request 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 slimndap closed this Jul 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants