Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

119
Views
Javascript date showing 1 day behind

I have very little knowledge of javascript. I'm calling an API on my band's website to display event dates that are entered into our band's scheduling system called Muzodo. However, even though the dates are displaying correctly within our system, the dates are showing up 1 day behind on our website (i.e. the event date is March 15, but our site is showing March 14). Is there a simple fix/something I can add to my existing code that will adjust the date by 1 day?

The site is hosted on Wordpress.

Here is what's in my header:

<script type="text/template" data-template="eventitem">
    <div class="muzodo_events">
        <table>
            <tr>
                <td class="col_one">
                    <p class="list-group-item-text date">${FormattedDate}</p>
                    <p class="list-group-item-text time">${TimeRange}</p>
                </td>
                <td class="col_two">
                    <p class="list-group-item-text name">${Name}</p>
                </td>
                <td class="col_three">
                    <p class="list-group-item-text address">${Address}</p>
                </td>
                <td class="col_four">
                    <a href="${CustomField_Link_Value}" target="_blank" class="x-btn">More Info</a>
                </td>
            </tr>
        </table>
    </div>
</script>

And here is what's in my footer:

<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://muzodo.com/api/muzodoApi-v2.js?v=6"></script>
    <script type="text/javascript">
        var options = {
            exclude: "UNCONFIRMED",
            noEventsText: "Stay tuned for upcoming events.",
            template: "eventitem",
            dateFormat: "mmm d, yyyy",
            customFields: [
                {
                    field: "Link"
                }
            ]
        };
        
        getMuzodoEvents("46D54023-7AAD-1D49-8857-9461628569D5", "upcomingEventsDiv", options);
    </script>

Here is the date format script that it's pulling. I've searched through this thread, but I can't figure out which part of my script needs to be updated as none of them quite match the examples.

Thank you!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!