From 5408aa0389f1693ef0a2e6a5d6ed6f96a0dc543d Mon Sep 17 00:00:00 2001 From: SanjayPrabhakaran Date: Fri, 8 Dec 2023 10:28:45 +0530 Subject: [PATCH] date time and lat/long format --- SJPv6/www/sjp.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SJPv6/www/sjp.js b/SJPv6/www/sjp.js index 878be97..8f28cff 100644 --- a/SJPv6/www/sjp.js +++ b/SJPv6/www/sjp.js @@ -1311,10 +1311,10 @@ function doForm(){//Checked panchanga=getPanchanga(d,lon,lat); s = "\n

Panchanga and Chart for
"+ " Name: "+params["chartname"]+"
"+ - " Date dd/mm/yyyy: "+params["day"]+"/"+params["month"]+"/"+params["year"]+"
"+ - " Time: "+params["hours"]+":"+params["mins"]+":"+params["secs"]+"
"+ - " Longitude: "+parseFloat(params["longitude"]).toFixed(4)+"
"+ - " Latitude: "+parseFloat(params["latitude"]).toFixed(4)+"
"+ + " DateTime dd/mm/yyyy: "+params["day"]+"/"+params["month"]+"/"+params["year"]+" "+params["hours"]+":"+("0"+params["mins"]).slice(-2)+":"+("0"+params["secs"]).slice(-2)+"
"+ + //" Time: "+params["hours"]+":"+("0"+params["mins"]).slice(-2)+":"+("0"+params["secs"]).slice(-2)+"
"+ + " Latitude, Longitude: "+parseFloat(params["latitude"]).toFixed(6)+","+parseFloat(-1*params["longitude"]).toFixed(6)+"
"+ + //" Latitude: "+"
"+ " Timezone: "+params["timezone"]+"
"+ panchanga.html; var editlink = "Change the Data";