Method Git.Export()->format_author()
- Method
format_author
stringformat_author(stringgecos,stringemail,string|inttimestamp,int|voidtz_offset)- Description
Format a committer info string.
- Parameter
gecos Display name of a person (eg
"Com M Itter").- Parameter
email Email address of the person (eg
"cm@example.com").- Parameter
timestamp Either a properly formatted timestamp string, or the number of seconds since the Unix epoch (ie 1970-01-01T00:00:00 UTC).
- Parameter
tz_offset Local timezone offset in minutes where the commit was performed. This argument is ignored when
timestampis a string. Defaults to0.- Returns
This function returns a string that indicates who made a commit and when.
- See also