fix cid and add metadatas.date
Merge pull request #11 from Papiel/cid-and-date

fix cid and add metadatas.date