Skip to content

Commit

Permalink
Date time and time zone on chart
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjayPrabhakaran committed Nov 29, 2023
1 parent 394c7c7 commit d77b8b5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion SJPv6/www/sjp.js
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,14 @@ function doForm(){//Checked
for (x in places )z=z+x+"#"+places[x]+"&";
setCookie("placeslist",z,1000);
panchanga=getPanchanga(d,lon,lat);
s = "\n<p><b>Panchanga at </b> "+d+ "<br/><br/>"+ panchanga.html;
s = "\n<p><b>Panchanga and Chart for </b> <br/>"+
"&emsp;<b>Name:</b>"+params["chartname"]+"<br/>"+
"&emsp;<b>Date:</b>"+params["day"]+" <b>Month:</b>"+params["month"]+" <b>Year:</b>"+params["year"]+"<br/>"+
"&emsp;<b>Hours:</b>"+params["hours"]+" <b>Minutes:</b>"+params["mins"]+" <b>Seconds:</b>"+params["secs"]+"<br/>"+
"&emsp;<b>Longitude:</b>"+params["longitude"]+"<br/>"+
"&emsp;<b>Latitude:</b>"+params["latitude"]+"<br/>"+
"&emsp;<b>Timezone:</b>"+params["timezone"]+"<br/>"+
"<br/><br/>"+ panchanga.html;
var editlink = "<a href="+window.location.href.replace("&submit=Calculate","")+"><strong>Change the Data</strong></a>";
document.write("<HTML><HEAD>"
+"<meta http-equiv='content-type' content='text/html; charset=utf-8' />"
Expand Down

0 comments on commit d77b8b5

Please sign in to comment.