From a4641fdc72dbcb261b7f1f82fae80a0e19bdd8e8 Mon Sep 17 00:00:00 2001 From: SanjayPrabhakaran Date: Fri, 22 Sep 2023 14:35:25 +0530 Subject: [PATCH] save jhd the timezone --- SJPv6/www/sjp.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SJPv6/www/sjp.js b/SJPv6/www/sjp.js index ccedd73..d69fbd2 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 .) - +(-parray['timezone'])+'\r\n' //Line5:-HH.MMmmmmmm(TimeZone -ve is east Hours.MMmmmm) + +(-parseInt(parray['timezone']))+"."+parray['timezone']%1*60+'\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) @@ -1313,11 +1313,11 @@ function doForm(){//Checked var editlink = "Change the Data"; document.write("" +"" - +" तज"+params["chartname"]+" - Sri Jagannatha Panchanga - JavaScript" + +""+params["chartname"]+" - Sri Jagannatha Panchanga - JavaScript" +"" + editlink +s +editlink +""); document.title = params["chartname"]+"-"+document.title; - window.status="Computed Panchanga"; +// window.status="Computed Panchanga"; document.close(); } function setLatLong(){