Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS error on iOS chrome versus PC Chrome. #15185

Open
raventechsaigon opened this issue Dec 14, 2024 · 1 comment
Open

JS error on iOS chrome versus PC Chrome. #15185

raventechsaigon opened this issue Dec 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@raventechsaigon
Copy link

Checklist

  • [X ] I have searched budibase discussions and github issues to check if my issue already exists

Hosting

  • Cloud
    • Tenant ID:

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
image

pc browser
image

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

@raventechsaigon raventechsaigon added the bug Something isn't working label Dec 14, 2024
Copy link

linear bot commented Dec 14, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant