From e751033f750df1ccd115cbbf68f0ae25e379b203 Mon Sep 17 00:00:00 2001 From: SanjayPrabhakaran Date: Fri, 29 Sep 2023 14:01:08 +0530 Subject: [PATCH] timezone --- SJPv6/www/sjp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)