Skip to content

Commit

Permalink
timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjayPrabhakaran committed Sep 29, 2023
1 parent a4641fd commit e751033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SJPv6/www/sjp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e751033

Please sign in to comment.