LiquidPlanner Classic Forum
API Date time objects with Python and MongoDB
over 5 years ago by LiquidPlanner Support
Posted on behalf of a customer. Original post date 2014-06-16
I am creating a simple web app using flask for our account managers to see which projects are due in the next few weeks. Currently I'am using the "promise_by" value to schedule in all of my work.
When inserting documents into MongoDB date objects such as "created_at" are automatically identified natively, however "promise_by" remains a string.
I can only assume that this will be due to "promise_by" not having a time associated with it, and just a YYYY-MM-DD date.
Will it be possible to have a time automatically added, instead of having to convert the string into an iterable date object after every LP request.