You've already forked AstralRinth
forked from didirus/AstralRinth
Use en dash for versions range instead of em dash (#1246)
This commit is contained in:
@@ -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