mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-03-25 09:25:49 +00:00
Less aggressive whitespace insertion.
This commit is contained in:
parent
30f2ad4400
commit
d3655c14db
1 changed files with 3 additions and 1 deletions
|
|
@ -41,8 +41,10 @@ func safeFormattedDate(date string) string {
|
|||
buffer.WriteString(date[i : i+1])
|
||||
} else {
|
||||
buffer.WriteString(date[i : i+2])
|
||||
if date[i] != ' ' && date[i+1] != ' ' && i < dateLength-2 {
|
||||
buffer.WriteString("\u200b")
|
||||
}
|
||||
}
|
||||
buffer.WriteString("\u200b")
|
||||
}
|
||||
return buffer.String()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue