JS error on iOS chrome versus PC Chrome. #15190
Unanswered
raventechsaigon
asked this question in
Help
Replies: 2 comments 2 replies
-
Hi @raventechsaigon i've converted this to a discussion as this is not a bug with Budibase itself and more a difference in how the JS engine in Chrome works on iOS vs Windows (perhaps a bug there). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
Hosting
Describe the bug
For the life of me I can not figure this error out
On Chrome PC...everthing works as expected
On Chrome on Iphone15
Get Javascript error
phone browser
pc browser
JS Script
var starttime =$("State.HOURLYMIN"); //state
var d = new Date(starttime);
sd=d.toISOString().slice(0, 19).replace('T', ' ');
var f = new Date(d.getTime());
d.setMinutes(d.getMinutes() + 60);
ed=d.toISOString().slice(0, 19).replace('T', ' ');
var today = new Date($("State.TIMENOW")); //state
timenow = today.toISOString().slice(0, 19).replace('T', ' ');
mindiff = $("State.HOURLYDELTA")+ " minutes until matchplay!";
out= 'START-' +sd + ' END-'+ed + "\n NOW-"+timenow+' '+mindiff ;
return out;
Match Play-export-1734205103910.tar.gz
Beta Was this translation helpful? Give feedback.
All reactions