Detect Mobile
var isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
Detect Mobile
var isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
Hola Thinh,
Reading and studying these days JavaScript better, I could notice that Date-Time variables are special when they are exchanged between applications.
JSON doesnât support Date-Time objects/variables so these must be converted to string in order to be sent.
Try this:
If everything is fine in Integromat, you will have to convert again your new Date from String into Date in Integromat.
I hope it helps
new version https://Agent.manun2.repl.co
Can you test for Mac
This is a code that I found on the net !!
Sweet!
Thanks @gvalero, I will deffo try this when I have time.
I used Manuâs YC to derive the userâs timezone offset. However it does not work in my timezone solely because we use dd/mm/yyyy instead of mm/dd/yyyy so I had to find an alternative.
Solution: Move to US?
Uh
In the YC DateUTC it reverts to ISO format, so itâs a common format âYYYY-MM-DDTHH: mm: ss.sssZâ
I think Glide reformatted for display and internal management at regional setting.
After that it is easy to convert for the webhook.
Or you modify the script to make a return value in string so in ISO format
Hi,
Another code that can be useful if you want to know the user language on your APP⌠Just use the Hell YC template for it.
const leng={es: "Spanish", en: "English", fr: "French", de: "German", it: "Italian"};
const ID= window.navigator.language.slice(0, 2);
return leng[ID]
More codes here: https://tools.ietf.org/rfc/bcp/bcp47.txt
Saludos
Thatâs interesting @Manu.n , can you get clicked X:Y position of the pointer or finger? In %
Hello @Uzo
Without even thinking too much or doing tests, I think itâs not possible, because your request is for the front-end. and the YC has no connection with this one
tnx⌠Iâm trying to build a slider component
good luck
You should be able to use YC columns in an action. Do you have a simple example app where that fails?
Yes
Here is a little video.
The principle is to modify the order of a list.
So with YC I determine what the next number is.
The action on the list is to copy the new number to the order column. But it doesnât work.
Can you please try reproducing it in a very simple app? Ideally just one tab with one button. And I need a support link.
The only time it works, and, if you add a text component to the page with the column or a column related to the YC. The action works.
This is my observation
Works well for Mac.
@Mark
I made this little app for you.
The idea is to make in an Action a SetColumn of a value produced by the YC.
Here is the support link
https://go.glideapps.com/support/13148310-761f-4187-b5d3-6b8268c056a1