GJS no longer translates time_t values into Date objects, update the code where we relied on the previous behavior.