Shoal Summit Solutions › Forums › MSTW League Manager Plugin (& Add-ons) › American Date format › Reply To: American Date format
November 25, 2023 at 11:14 am
#7205
Hi Dan. We had the same idea and it possible through the shortcode incantation.
For the date you can add, date_format='XXX'
as well as time_format='YYY'
.
You can replace the XXX and YYY with a string. This is a helpful guide: https://www.php.net/manual/en/datetime.format.php.
For example, we wanted Sat 11/25 as our date, so we used date_format='D n/j'
.
You don’t need to know any code, because you can bake this into your shortcode, as seen below.
[mstw_league_schedule_table league="boys-basketball" season=2023 show_nonleague=1 show_meets=0 date_format='D n/j' time_format='g:i A']
Hope this helps!