Event time off by a few minutes

Home Forums Calendar Products Events Calendar PRO Event time off by a few minutes

  • This topic has 6 replies, 3 voices, and was last updated 12 years ago by Rob.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #17975
    Liana
    Member

    Whenever I post an event starting at 9:00 am for example and echo it with $event->EventStartDate it seems to add random minutes to it (ie. 9:07am) in the frontend.
    Cannot seem to work out why this is happening (after saving event, logging out, logging in then viewing it shows as the right time in the backend but still not in the frontend, weird?).
    Can post more of my code if required.
    The website for reference is: http://www.australiandesignreview.com.au

    #17976
    Liana
    Member

    Example here: http://www.australiandesignreview.com/event/the-urban-age-risk-and-renewal

    Start and end times are 4 mins off for no reason?

    #17990
    Rob
    Member

    Hey Liana. Thanks for the note here – we can take a look and should be able to get this resolved for you, but mind posting the code you’re using? Ideally in a pastie.org link so we can view it in full?

    We’ll do what we can to assist from there. Thanks!

    #18016
    Liana
    Member

    The full codeblock can be found at: http://pastebin.com/KZGEqV3J

    The issue seems to be when I use EventStartDate));?> it will add random minutes to the time, I need the time to display in AM / PM format instead of 24 hour format (also without seconds), is there any other way to query this?
    (This may just be a silly developer error on my end, I have been known to make a few)

    #18018
    Liana
    Member

    Disregard this, my error… was passing through d/m/Y h:mA instead of d/m/Y h:iA, lock and delete

    #18019
    Henry
    Member

    Try using this

    http://pastie.org/3807770

    #18222
    Rob
    Member

    Hey Liana, so it sounds like you’re all set as per your last note…am I wrong there? If the issue persists, does Henry’s most recent suggestion get you where you need to be?

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Event time off by a few minutes’ is closed to new replies.