mirror of
https://github.com/go-gitea/git.git
synced 2026-07-19 14:33:37 -04:00
[PR #97] [MERGED] Fix time parsing #103
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-gitea/git/pull/97
Author: @ethantkoenig
Created: 12/9/2017
Status: ✅ Merged
Merged: 12/10/2017
Merged by: @lafriks
Base:
master← Head:fix/time📝 Commits (1)
b9b2b4eFix time parsing📊 Changes
2 files changed (+7 additions, -2 deletions)
View changed files
📝
repo.go(+1 -1)📝
signature.go(+6 -1)📄 Description
Fix time parsing in
GetLatestCommitTime, which would fail on days 1-9 of the month (since the date only has one digit, see below output). Also moves the time format to a named constant, since it is used in multiple places.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.