Closed ckniffen closed 8 months ago
In production the daily reports always returns times as UTC at 23:00. This causes the times displayed to users to be in the future.
https://twitter.com/AverageJohnXRP/status/1745415012238196899
Preliminary triage:
daily_agreement
date.setHours(23, 0, 0, 0)
TZ=UTC
In production the daily reports always returns times as UTC at 23:00. This causes the times displayed to users to be in the future.
https://twitter.com/AverageJohnXRP/status/1745415012238196899
Preliminary triage:
daily_agreement
date.setHours(23, 0, 0, 0)
https://github.com/ripple/validator-history-service/blob/main/src/api/routes/v1/validator-report.ts#L38TZ=UTC
this forces the Postgres knex adapter to actually use UTC