storj/satellite
Jeff Wendling 75314a4364 satellite/satellitedb: fix roundToNextDay to handle timezones appropriately
Since incoming times may be in any time zone, and we want the output
to be in UTC and for them to have 00:00:00 hours, minutes and seconds
we first convert the incoming timestamp to UTC before doing the
truncate to the day and adding a day.

Because the old code always returned a timestamp that was in the
future, this is just for efficiency.

Change-Id: Ie692d47bca8691e73852c822d5c56cf8773d99b4
2020-01-21 21:02:16 +00:00
..
accounting satellite: use require.WithinDuration 2020-01-21 19:43:53 +02:00
attribution satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
audit satellite: remove UptimeReputation configs from codebase 2020-01-08 18:54:15 +00:00
console satellite/metainfo: Rate limiting - API requests 2020-01-21 14:25:04 +00:00
contact satellite/contact; storagenode/preflight: add clock check on startup for storagenode 2020-01-15 15:35:26 +00:00
dbcleanup common: separate repository 2019-12-27 14:11:15 +02:00
downtime satellite: use require.WithinDuration 2020-01-21 19:43:53 +02:00
gc lib/uplinkc: fix test flakiness by setting MaxTimeSkew 2020-01-20 12:44:42 +00:00
gracefulexit satellite: use require.WithinDuration 2020-01-21 19:43:53 +02:00
inspector uplink: move to storj.io/uplink (#3746) 2020-01-08 15:40:19 +02:00
mailservice satellite/mailservice: move logging to send rendered async to cover template parsing (#3654) 2019-11-28 12:29:48 +02:00
marketingweb common: separate repository 2019-12-27 14:11:15 +02:00
metainfo satellite/metainfo: Rate limiting - API requests 2020-01-21 14:25:04 +00:00
metrics private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
nodestats satellite: remove UptimeReputation configs from codebase 2020-01-08 18:54:15 +00:00
orders satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
overlay satellite: use require.WithinDuration 2020-01-21 19:43:53 +02:00
payments satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
referrals common: separate repository 2019-12-27 14:11:15 +02:00
repair satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
rewards common: separate repository 2019-12-27 14:11:15 +02:00
satellitedb satellite/satellitedb: fix roundToNextDay to handle timezones appropriately 2020-01-21 21:02:16 +00:00
vouchers common: separate repository 2019-12-27 14:11:15 +02:00
api.go satellite/metainfo: Rate limiting - API requests 2020-01-21 14:25:04 +00:00
core.go satellite: reduce logging of node status 2020-01-18 17:47:59 +00:00
peer.go satellite/satellitedb: reported_serials table for processing orders 2020-01-15 19:21:21 -07:00
repairer.go satellite: reduce logging of node status 2020-01-18 17:47:59 +00:00