Calculate midnight based on time.
Merge pull request #4 from feketemihai/master

Update currency_rate_update