Jump to >

djblets.util.dates

http_date(timestamp)[source]

A wrapper around Django’s http_date that accepts DateFields and datetime objects directly.

get_latest_timestamp(timestamps)[source]

Returns the latest timestamp in a list of timestamps.

get_tz_aware_utcnow()[source]

Returns a UTC aware datetime object