GCTour / gctour_orig

Automatically exported from code.google.com/p/gctour
1 stars 1 forks source link

Seit GC-Update(?) lassen sich keine GPX-Dateien mehr runterladen #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Tour erstellen
2. Klicke Button "Download GPX"

Es kommt eine Fehlermeldung:
GC2QWR5:TypeError: date is null
(GC2QWR5 ist der erste in der Tour: J4QDZE0G)

Original issue reported on code.google.com by waldmeisterx on 24 May 2012 at 10:47

GoogleCodeExporter commented 8 years ago
i have the same problem. I tried many combinations concerning
date format and/ or language settings - still the same problem.
Is there a possible patch (e.g. editing with a fixed date in
certain date format?)
Thank you

Original comment by hgmuenc...@googlemail.com on 25 May 2012 at 9:54

GoogleCodeExporter commented 8 years ago
The quick "fix" to remove this error and get ready to go outside for geocaching 
is at line 7635:
geocache.dateHidden = new Date(); //geocache_obj.hidden;

Original comment by itse...@gmail.com on 25 May 2012 at 11:23

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/gctour/source/detail?r=37ceff53e0bfef8723e1a18985bad59f
6a3b4ae0

fix issue 39
file 500-cache-scraper.js lines 91-92 change to

  $divCacheDetails = $('#ctl00_ContentBody_mcd2', element).first();
  geocache.hidden = parseDate($.trim($divCacheDetails.text().split(':').pop()));

please test

Original comment by gctour.d...@gmail.com on 25 May 2012 at 12:29