I've put in a few sample items in my site that all expire 3 weeks from now. The exact UNIX timestamp in the database for the "expiry" field is at: 1263335400

When the product page loads, it initially says "Expires in 3 weeks", but then immediately switches to "Expires in 0 sec". Must be something related to the javascript, but I haven't been able to determine what yet. Any ideas?

CommentFileSizeAuthor
#2 uc_auction_js.patch1.21 KBattheshow

Comments

attheshow’s picture

More details:
Drupal.settings.ucAuction.expiry = NaN
(according to Firefox)

attheshow’s picture

Category: support » bug
Status: Active » Needs review
StatusFileSize
new1.21 KB

This patch works for me.

snowmountain’s picture

The patch seems to work for me too!

Zito’s picture

Pra mim tbm

pwarn’s picture

I have this problem too. The above patch worked.

benjf’s picture

Status: Needs review » Reviewed & tested by the community

this patch also worked for me. Any chance of getting this committed? The issue (and patch) is over a year old.

dsramalho’s picture

also i have find out that this can be a problem with the Theme you are using... depending on the theme the "Expires in 0 sec" does not appear. just some contribution. Thanks for the patch. Dan Ramalho.

ocamp’s picture

i applied the patch, now when i have a more than one auction on a page all the auctions have the same time showing?

Is anybody else getting this?

krembo’s picture

Patch worked, but now instead of changing to 0 seconds it changes from current language to english immediately

jepster_’s picture

I could commit this patch, but I don't know for what exactly this is. Normally the time stands at this second, in which you've opened the auction - or do you mean a js feature, which is counting the time in real-time?

jepster_’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Ok, the patch is now implemented in the dev version.

jepster_’s picture

It seems that the function, which is reseting the time, is buggy even the path is inserted. I've deleted this function, because it isn't useful in my opinion. I'll push it in the next soon dev-version update.

coloryan’s picture

If I remember correctly, this could be connected to the one time pulling from the server, and the js countown pulling from the local computer/browser.

However, I reserve the right to be incorrect in this memory.

chitsnow’s picture

Category: bug » support

I have this problem too(always show "Expire in 0sec"). Please kindly help me. How should I do? Any idea will be appreciated.