Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

121
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda