mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 06:15:08 +00:00
parsing: add timezone to ident structures
This will allow us to mimic Git's behaviour of showing times in the originator's timezone when displaying commits and tags. Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
57ea1aa2a5
commit
45c87ca1c3
3
cgit.h
3
cgit.h
@@ -130,9 +130,11 @@ struct commitinfo {
|
||||
char *author;
|
||||
char *author_email;
|
||||
unsigned long author_date;
|
||||
int author_tz;
|
||||
char *committer;
|
||||
char *committer_email;
|
||||
unsigned long committer_date;
|
||||
int committer_tz;
|
||||
char *subject;
|
||||
char *msg;
|
||||
char *msg_encoding;
|
||||
@@ -142,6 +144,7 @@ struct taginfo {
|
||||
char *tagger;
|
||||
char *tagger_email;
|
||||
unsigned long tagger_date;
|
||||
int tagger_tz;
|
||||
char *msg;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user