diff --git a/SJPv6/www/sjp.js b/SJPv6/www/sjp.js index d69fbd2..dd3245a 100644 --- a/SJPv6/www/sjp.js +++ b/SJPv6/www/sjp.js @@ -297,7 +297,7 @@ function getJHDStringEsc( parray){ +d.getDate()+'\r\n' //Line2:DATE +d.getFullYear()+'\r\n' //Line3:YEAR (digit) +(d.getHours()*1+d.getMinutes()/100+d.getSeconds()/10000).toFixed(6)+'\r\n' //HH.MMmmmmmm(where Hours.MMmmmm mm is decimals of minutes after .) - +(-parseInt(parray['timezone']))+"."+parray['timezone']%1*60+'\r\n' //Line5:-HH.MMmmmmmm(TimeZone -ve is east Hours.MMmmmm) + +(-parseInt(parray['timezone']))+"."+(parray['timezone']%1*60).toFixed(0)+'\r\n' //Line5:-HH.MMmmmmmm(TimeZone -ve is east Hours.MMmmmm) +parray['longitude']+'\r\n' //Line6:-DD.MMmmmm (Longitudes -ve is east Degrees.MMmmmm) +parray['latitude']+'\r\n' //Line7:DD.MMmmmm (Latitude Degrees.MMmmmm) +"00.000"+"\n" //Altitude //Line8:MM.mmmmmm (Altitude meters)