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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

82 views 0 5
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