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

Uncaught (in promise) Error: Unknown function: dateTime #64

Open
sven5 opened this issue Apr 27, 2021 · 0 comments
Open

Uncaught (in promise) Error: Unknown function: dateTime #64

sven5 opened this issue Apr 27, 2021 · 0 comments

Comments

@sven5
Copy link

sven5 commented Apr 27, 2021

Hi,

when using groq.dev the dateTime function doesn't seem to work. Could you please explain what's wrong here?
query:

*[completed == true && userId == 2]{
  title,
    "now": dateTime(now())
}

error in browser console:

86527f614cf25511c4200490dbce8557fd7f1f1f.84029c43eb6a4d244e4a.js:1 Uncaught (in promise) Error: Unknown function: dateTime
    at FuncCall (86527f614cf25511c4200490dbce8557fd7f1f1f.84029c43eb6a4d244e4a.js:1)
    at x (86527f614cf25511c4200490dbce8557fd7f1f1f.84029c43eb6a4d244e4a.js:1)
    at Object (86527f614cf25511c4200490dbce8557fd7f1f1f.84029c43eb6a4d244e4a.js:1)
    at async r._generator (86527f614cf25511c4200490dbce8557fd7f1f1f.84029c43eb6a4d244e4a.js:1)
    at /async https:/groq.dev/_next/static/chunks/86527f614cf25511c4200490dbce8557fd7f1f1f.84029c43eb6a4d244e4a.js:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant