Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
eBay timezone fix
Changes all eBay times to be in your local time zone
|
|
You know, I always wondered why eBay never provided the option to select your timezone. Quite an obvious thing to do really. Thank you =] |
|
|
I feel for Tommy, really. Thanks so much for a great script. I appreciate the addons, too. |
|
|
There's a new firefox addon (myTimeZone for eBay) which works for any time zone and automatically adjusts for DST: |
|
|
This is a great idea, but how do I change it to my time zone (Eastern Time with daylight savings)? Any help is greatly appreciated. |
|
|
if you want to retain eBay's date/time format mmm-dd-yy, add this function: function convertMonth(x)
and change this line: var dstr = d.getFullYear() + '-' + nf(d.getMonth() + 1) + '-' + nf(d.getDate()) + ' ' + nf(d.getHours()) + ':' + nf(d.getMinutes()) + ':' + nf(d.getSeconds()) + " " + tzinfo[1]; to var dstr = convertMonth(d.getMonth() + 1) + '-' + nf(d.getDate()) + '-' + String(d.getFullYear()).substring(2) + ' ' + nf(d.getHours()) + ':' + nf(d.getMinutes()) + ':' + nf(d.getSeconds()) + " " + tzinfo[1]; |
|
|
Regarding Tommy's bug report. The script doesn't handle Day Light Saving Time and PST is hardcoded in the script. To fix this: replace the regex expression to: var foo = str.match(/(\S\S\S)-(\d\d)-(\d\d)(\s+|\s+at\s+)(\d\d:\d\d:\d\d)\s+(PDT and replace the Date constructor to: var d = new Date(foo[1] + ' ' + foo[2] + ' 20' + foo[3] + ' ' + foo[5] + " " + foo[6]); hope this helps |
|
|
Great idea and a welcome addon but It really doesn't change anything for me. All times on ebay.com are still in PDT. |
You could comment on this script if you were logged in.
