commit 2df4e4ff8d55414909311ec5dabbd5ed73bccf18 from: Stefan Sperling date: Sun Dec 23 11:11:34 2018 UTC mention that commit timestamps are UTC in API docs commit - 45d799e2247f32829160ec48664dbccfae98150f commit + 2df4e4ff8d55414909311ec5dabbd5ed73bccf18 blob - af264e30e6836ade853bbfe34bd4abbb3a8e26b6 blob + 2bfa31df213c408dfa72288100da41d06ef008b8 --- include/got_object.h +++ include/got_object.h @@ -148,7 +148,7 @@ const struct got_object_id_queue *got_object_commit_ge /* Get the author's name and email address. */ const char *got_object_commit_get_author(struct got_commit_object *); -/* Get an author's commit timestamp. */ +/* Get an author's commit timestamp in UTC. */ time_t got_object_commit_get_author_time(struct got_commit_object *); /* Get an author's timezone offset. */ @@ -157,7 +157,7 @@ time_t got_object_commit_get_author_gmtoff(struct got_ /* Get the committer's name and email address. */ const char *got_object_commit_get_committer(struct got_commit_object *); -/* Get an committer's commit timestamp. */ +/* Get an committer's commit timestamp in UTC. */ time_t got_object_commit_get_committer_time(struct got_commit_object *); /* Get an committer's timezone offset. */