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

14866272000008,123

 

Any ideas?

1 answer

1 accepted

This widget could not be displayed.

Hi Nick,

Thank you for your interest in PocketQuery! Please first check out this post: https://answers.atlassian.com/questions/39138318. 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 Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

486 views 3 18
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