Skip to content

Commit

Permalink
Merge eba53a8 into 8e975ee
Browse files Browse the repository at this point in the history
  • Loading branch information
mgolus committed Dec 21, 2016
2 parents 8e975ee + eba53a8 commit 680cc58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions strftime.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ func Strftime(t *time.Time, format string) string {
app(fmt.Sprintf("%2s", strconv.Itoa(hki)), &i, 1)
continue
case 'P':
app(t.Format("am"), &i, 1)
app(t.Format("pm"), &i, 1)
continue
case 'p':
app(t.Format("AM"), &i, 1)
app(t.Format("PM"), &i, 1)
continue
case 'M':
app(t.Format("04"), &i, 1)
Expand Down Expand Up @@ -199,7 +199,7 @@ func Strftime(t *time.Time, format string) string {
strconv.Itoa(hki),
t.Format("04"),
t.Format("05"),
t.Format("AM")),
t.Format("PM")),
&i, 1)
continue
case 'R':
Expand Down

0 comments on commit 680cc58

Please sign in to comment.