View Single Post
Old 05-31-2014, 11:36 AM   #2743
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Ah, I see. You need to create a new adapter module in this case, using the adapter_imagineeficcom.py as a template should help you out. For the datetime parsing I would check out the Python documentation here. Once you figure out the correct format string you need, you can use the makeDate function contained in the base_adapter.py module (compare line 61, 247 and 250 in the adapter_imagineeficcom.py file).

EDIT: Ah now I actually understand the context of your question, I wasn't aware you were trying to develop your own adapter. The advice above should be able to help you along hopefully.
cryzed is offline