developmentseed / landsat-util

A utility to search, download and process Landsat 8 satellite imagery
Creative Commons Zero v1.0 Universal
690 stars 147 forks source link

search command accepted date formats #190

Closed negroscuro closed 8 years ago

negroscuro commented 8 years ago

Hello, I read the documentation saying this command accept most date formats but I am having erratic behaviors depending on the date format. Which are the accepted date formats?

I used YYYY-mm-dd or YYYY/mm/dd also dd-mm-YYYY or dd/mm/YYYY --> I think this is not working properly. Recently I tried with mm-dd-YYYY or mm/dd/YYYY

Thank you for your suuport and help. Cheers, Mario.

JorgeGT commented 8 years ago

If Im not mistaken the preferred format is YYYY-MM-DD. From search.py:

:param start_date:
    Date string. format: YYYY-MM-DD
negroscuro commented 8 years ago

I will use that one then, thank you.