Use en dash for versions range instead of em dash (#1246)
This commit is contained in:
1 parent
91e1eff763
commit
e2fb8827a7
1 file changed
+1
-1
@@ -314,7 +314,7 @@ export const formatVersions = (versionArray) => {
|
||||
|
||||
for (const interval of newIntervals) {
|
||||
if (interval.length === 2) {
|
||||
output.push(`${interval[0][0]}—${interval[1][0]}`)
|
||||
output.push(`${interval[0][0]}–${interval[1][0]}`)
|
||||
} else {
|
||||
output.push(interval[0][0])
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user