You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have been using govaluate in my code for a long time.. but I faced this issue very recently.
The issue is described as
I wrote my custom function names as getCustomTimestamp which definition is as below..
And what am I doing is passing string 2024-06-10T09:12:00.084Z to this function and writing an expression which says => getCustomTimestamp("2024-06-10T09:12:00.084Z") or getCustomTimestamp('2024-06-10T09:12:00.084Z')
The logs I received are Received args: [1.71801072e+09] whereas if I pass a normal string like your-name then as the output I receive Received args: [your-name], I am not getting this.. is this automatically parsing the time in some format. Please help me here.
The text was updated successfully, but these errors were encountered:
Hi, I have been using govaluate in my code for a long time.. but I faced this issue very recently.
The issue is described as
I wrote my custom function names as
getCustomTimestamp
which definition is as below..And what am I doing is passing string
2024-06-10T09:12:00.084Z
to this function and writing an expression which says =>getCustomTimestamp("2024-06-10T09:12:00.084Z") or getCustomTimestamp('2024-06-10T09:12:00.084Z')
The logs I received are
Received args: [1.71801072e+09]
whereas if I pass a normal string likeyour-name
then as the output I receiveReceived args: [your-name]
, I am not getting this.. is this automatically parsing the time in some format. Please help me here.The text was updated successfully, but these errors were encountered: