Hi Carolyn,
thank you for your comments.
At the moment the format of the times is hard-coded ‘G:i’.
It is not very difficult for me to make it configurable. So I will do that in the next update. I hope to deploy that in a week or two.
If you can’t wait and you are not afraid to change a little bit in the code you can change the text ‘G:i’ three times in the format you want for example ‘g:i a’ in the file
… /wp-content/plugins/simple-google-icalendar-widget/simple-google-icalendar-widget.php
on your system
in the following lines:
if ($e->startisdate === false) {
echo wp_date( 'G:i ', $e->start);
}
and
if ($e->startisdate === false && date('z', $e->start) === date('z', $e->end)) {
echo '<span class="time">', wp_date( 'G:i', $e->start ),
'</span> - <span class="time">', wp_date( 'G:i', $e->end ), '</span> ' ;
} else {
echo '';
Regards Bram
-
This reply was modified 3 years, 7 months ago by bramwaas.