Skip to content

A platform for community discussion. Free, open, simple.

Update period-title.js (#20422)

carsickda43b60510fd
diff --git a/app/assets/javascripts/discourse/app/helpers/period-title.js b/app/assets/javascripts/discourse/app/helpers/period-title.js
index 090f7cacd3e..c84f3ef8668 100644
--- a/app/assets/javascripts/discourse/app/helpers/period-title.js
+++ b/app/assets/javascripts/discourse/app/helpers/period-title.js
@@ -28,7 +28,7 @@ export default htmlHelper((period, options) => {
.clone()
.subtract(1, "year")
.format(I18n.t("dates.long_with_year_no_time")) +
- " - " +
+ " – " +
finish.format(I18n.t("dates.long_with_year_no_time"));
break;
case "quarterly":
@@ -37,7 +37,7 @@ export default htmlHelper((period, options) => {
.clone()
.subtract(3, "month")
.format(I18n.t("dates.long_no_year_no_time")) +
- " - " +
+ " – " +
finish.format(I18n.t("dates.long_no_year_no_time"));
break;
case "weekly":
@@ -50,7 +50,7 @@ export default htmlHelper((period, options) => {
dateString =
start.format(I18n.t("dates.long_no_year_no_time")) +
- " - " +
+ " – " +
finish.format(I18n.t("dates.long_no_year_no_time"));
break;
case "monthly":
@@ -59,7 +59,7 @@ export default htmlHelper((period, options) => {
.clone()
.subtract(1, "month")
.format(I18n.t("dates.long_no_year_no_time")) +
- " - " +
+ " – " +
finish.format(I18n.t("dates.long_no_year_no_time"));
break;
case "daily":