[Plugin: RSVP Plugin] UK dates rather than US when RSVP date not reached
-
Since I (and the client I am using the plugin for) is in the UK, I made a tweak to the rsvp_frontend.inc.php file to change the date format displayed to users of the site.
I edited the section checking the open date to be:
if((strtotime($openDate) !== false) && (strtotime($openDate) > time())) { return "<p>I am sorry but the ability to RSVP for our wedding won't open till <strong>".date("d/m/Y", strtotime($openDate))."</strong></p>"; }
The admin page still displays dates as US format m/d/Y but everyone can live with that. There was just concern that the less tech-savy guests may have been very confused reading the RSVP page otherwise!
It might be nice to make this a user setting at some point.
- The topic ‘[Plugin: RSVP Plugin] UK dates rather than US when RSVP date not reached’ is closed to new replies.