add load from select save
This commit is contained in:
parent
f721517f25
commit
17030c72ce
10 changed files with 229 additions and 53 deletions
|
|
@ -88,6 +88,11 @@ func GetCommitLogOfFilename(countryId string, filename string) ([]CommitLog, err
|
|||
|
||||
for _, v := range commits {
|
||||
if strings.Contains(v.Change_file, countryId) {
|
||||
|
||||
// do convert time format
|
||||
v.Created_at = strings.Replace(v.Created_at, "T", " ", -1)
|
||||
v.Created_at = strings.Replace(v.Created_at, "Z", "", -1)
|
||||
|
||||
commitsByCountryID = append(commitsByCountryID, v)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue