Frontends: Fix up to work with time.Time-based metrics.