Enumerate timestamps without TZ. #3074.

This is a backport of 7cb2a707 from master to 1.2 with a slightly
different query.
Handle nils in #reportable_value. #3162.

Backported from f81b308e0. This is a quick fix for a nearly dead
branch, so I'm not backporting the tests.