Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjayPrabhakaran committed Dec 8, 2023
1 parent 5408aa0 commit 19b4f8e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SJPv6/www/sjp.js
Original file line number Diff line number Diff line change
Expand Up @@ -1310,12 +1310,14 @@ function doForm(){//Checked
setCookie("placeslist",z,1000);
panchanga=getPanchanga(d,lon,lat);
s = "\n<p><b>Panchanga and Chart for </b> <br/>"+
"<br/>"+
"&emsp;Name: <b>"+params["chartname"]+"</b><br/>"+
"&emsp;DateTime dd/mm/yyyy: <b>"+params["day"]+"/"+params["month"]+"/"+params["year"]+" "+params["hours"]+":"+("0"+params["mins"]).slice(-2)+":"+("0"+params["secs"]).slice(-2)+"</b><br/>"+
"&emsp;DateTime dd/mm/yyyy: <b>"+params["day"]+"/"+params["month"]+"/"+params["year"]+"&emsp;"+params["hours"]+":"+("0"+params["mins"]).slice(-2)+":"+("0"+params["secs"]).slice(-2)+"</b><br/>"+
//"&emsp;Time: <b>"+params["hours"]+":"+("0"+params["mins"]).slice(-2)+":"+("0"+params["secs"]).slice(-2)+"</b><br/>"+
"&emsp;Timezone: <b>"+params["timezone"]+"</b><br/>"+
"&emsp;Latitude, Longitude: <b>"+parseFloat(params["latitude"]).toFixed(6)+","+parseFloat(-1*params["longitude"]).toFixed(6)+"</b><br/>"+
//"&emsp;Latitude: <b>"+"</b><br/>"+
"&emsp;Timezone: <b>"+params["timezone"]+"</b><br/>"+
"<br/>"+
panchanga.html;
var editlink = "<a href="+window.location.href.replace("&submit=Calculate","")+"><strong>Change the Data</strong></a>";
document.write("<HTML><HEAD>"
Expand Down

0 comments on commit 19b4f8e

Please sign in to comment.