Auction Times

Auction Times

September 5, 2013
James James
  • James
    James
    Senior Member 198 points

    I’ve set up several listing plans in AP Version 4.6 like 1 day, 3 day, 7 day etc.. I have it set to have the admin approve listings first and when I approve it right after it is created all auction timers end 18 hours short of the chosen listing time.

    Example: The seller chooses a 3 Day listing and auction shows auction ends in (2 days 6 hours 10 min 60 seconds) How do I get this to work correctly?

    Thanks

    September 5, 2013 at 6:05 pm
  • John
    John
    Newbie 74 points

    Same problem over here.. We need a fix for this!

    September 6, 2013 at 2:56 am
  • Mark Fail
    Mark Fail
    Super Guru 12,529 points

    This is todo with the server clock, you need to set your php server time the same as your expected local time.

    if you edit the functions.php in the main theme folder, i added a sample time zone there.

    September 6, 2013 at 3:54 am
  • Mark Fail
    Mark Fail
    Super Guru 12,529 points

    If you open the functions.php file you see iv comments out the timezone;

    //date_default_timezone_set(‘Asia/Hong_Kong’);

    simply adjust this to your time zone and un-comment it.

    http://php.net/manual/en/function.date-default-timezone-set.php

    example;

    date_default_timezone_set(‘America/Los_Angeles’);

    September 6, 2013 at 4:13 am
  • James
    James
    Senior Member 198 points

    I must be missing something here… I’ve set in the functions.php file

    date_default_timezone_set(‘America/Los_Angeles’);

    and in the admin backend under Settings >> General I have set timezone to Los Angeles still times are off. Now listings are ending 14 hours early ??

    September 6, 2013 at 2:17 pm
  • James
    James
    Senior Member 198 points

    sorry I meant to post some snips…

    Attachments:
    You must be logged in to view attached files.
    September 6, 2013 at 2:18 pm
  • James
    James
    Senior Member 198 points

    Ok so I contacted host for some help here and I have set in the functions.php file…

    date_default_timezone_set(‘America/Chicago’);

    then in the wp admin

    Timezone: Chicago

    and I am still having trouble with timer when I create a new listing. Let’s say a 1 day listing, it starts the auction off at 8 hours and 30 min… it’s missing 15 hours and 30 min ?

    September 7, 2013 at 3:34 pm
  • James
    James
    Senior Member 198 points

    I would really like to get this sorted asap. Host says time zones are set correctly may be a script problem. Mark can you take a look?

    Thanks

    September 8, 2013 at 5:02 pm
  • Mark Fail
    Mark Fail
    Super Guru 12,529 points

    send a ticket and ill check, not much i can do without seeing your setup.

    September 9, 2013 at 4:16 am
  • James
    James
    Senior Member 198 points

    Mark thank you for getting that sorted for me ๐Ÿ˜€

    September 10, 2013 at 1:55 pm
  • Kevin
    Kevin
    Newbie 92 points

    I’m having the same problem… I matched my time zones in the editor and in my admin area. My server time is still 4 hours fast. Let me know what the outcome is, Mark. Perhaps I should open a ticket too?

    September 10, 2013 at 4:49 pm
Viewing 11 posts - 1 through 11 (of 11 total)

Didn't find what you were after?

Chat with us now

or contact our support team