Fixing month format MM by mm
Erasing some console.log and adding moment
Adding range on gates dates parameters