summaryrefslogtreecommitdiffstats
path: root/includes/admin/views/_edit_concert_form.php
diff options
context:
space:
mode:
authorAndreaChirulescu <andrea.chirulescu@gmail.com>2022-02-27 13:35:59 +0100
committerAndreaChirulescu <andrea.chirulescu@gmail.com>2022-02-27 13:35:59 +0100
commitc5d786a1c72911e4352a6e40ea19aff98711d353 (patch)
tree968f723281aa31d043731dc34f84cdfc2a164ed2 /includes/admin/views/_edit_concert_form.php
parent0775b984af29855d0a31ba38a30552f997ecf0b7 (diff)
downloadgigologadmin-c5d786a1c72911e4352a6e40ea19aff98711d353.tar.gz
gigologadmin-c5d786a1c72911e4352a6e40ea19aff98711d353.tar.bz2
gigologadmin-c5d786a1c72911e4352a6e40ea19aff98711d353.zip
iCal file download fixes to generate one file per concert
giglog import fixes to catch errors and ignore old concerts
Diffstat (limited to 'includes/admin/views/_edit_concert_form.php')
-rw-r--r--includes/admin/views/_edit_concert_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/admin/views/_edit_concert_form.php b/includes/admin/views/_edit_concert_form.php
index 6e4f5e5..9bddfba 100644
--- a/includes/admin/views/_edit_concert_form.php
+++ b/includes/admin/views/_edit_concert_form.php
@@ -53,7 +53,7 @@ if (!class_exists("GiglogAdmin_EditConcertForm"))
.'<label for="cname">Concert Name:</label><textarea id="cname" name="cname" value="'.$c->cname().'">'.$c->cname().'</textarea><br>'
.'<label for="venue">Venue:</label>' . $this->get_venue_selector($c->venue()) . '<br>'
//date has to be formatted else it is not red in the date field of html form
- .'<label for="cdate">Date:</label><input type="date" id="cdate" name="cdate" value="'.strftime('%d/%m/%Y',strtotime($c->cdate())).'"><br>'
+ .'<label for="cdate">Date:</label><input type="date" id="cdate" name="cdate" value="'.date('Y-m-d',strtotime($c->cdate())).'"><br>'
.'<label for="ticket">Tickets:</label><input type="text" id="ticket" name="ticket" value="'.$c->tickets().'"><br>'
.'<label for="eventurl">Event link:</label><input type="text" id="eventurl" name="eventurl" value="'.$c->eventlink().'"><br>'
.'</fieldset>';