Using the Calendar in PocketQuery with a SQL returned dataset is not working

I'm trying to use the Google Calendar gadget in PocketQuery. I'm not entirely sure my dataset is returning the proper date datetime format. But I am unable to get it to work regardless of what I do.


I tried to "prep" the query result in the template before calling the PocketQuery.chart('Calendar'); function but I keep getting "Invalid data table format: column #0 must be of type 'date|datetime'. But I can't figure out what this format really is. 


My formatted $result looks like this:

{ltb='2017-02-09', id=8123},



I use the 'Table' chart as well and the rendered result looks like



Any ideas?

1 answer

1 accepted

1 vote
Accepted answer

Hi Nick,

Thank you for your interest in PocketQuery! Please first check out this post: I think the issue is quite the same.

Best, Felix (Scandio)

Hi Felix,


Thanks! I was actually able to get it to work after some tinkering and my implementation ended up looking very similar to the one in your link. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

441 views 8 26
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you