generate rfc3339-compliant timestamps from date objects