Skip to content
Snippets Groups Projects
Commit 918f18a1 authored by Maz Ameli's avatar Maz Ameli
Browse files

fix dangling in day-of-week xrays

parent e83cc4b2
Branches
Tags
No related merge requests found
......@@ -932,7 +932,7 @@
(date/date-extract :quarter-of-year dt tz)
(str (date/date-extract :year dt tz)))
:year (unparse-with-formatter "YYYY" dt)
:day-of-week (tru "on a {0}" (unparse-with-formatter "EEEE" dt))
:day-of-week (tru "{0}" (unparse-with-formatter "EEEE" dt))
:hour-of-day (tru "at {0}" (unparse-with-formatter "h a" dt))
:month-of-year (unparse-with-formatter "MMMM" dt)
:quarter-of-year (tru "Q{0}" (date/date-extract :quarter-of-year dt tz))
......@@ -958,7 +958,7 @@
(def ^:private unit-name (comp {:minute-of-hour "minute"
:hour-of-day "hour"
:day-of-week ""
:day-of-week "day of week"
:day-of-month "day of month"
:week-of-year "week"
:month-of-year "month"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment