Fixed datetime.now issue