I don't actually need the year
parent
c224c479eb
commit
b9e38a1ce1
|
@ -23,7 +23,7 @@ fmtter full icon fmt = fullFmtter full icon . formatTime defaultTimeLocale fmt
|
||||||
fmtTime :: FormatTime t => Bool -> t -> String
|
fmtTime :: FormatTime t => Bool -> t -> String
|
||||||
fmtTime full time =
|
fmtTime full time =
|
||||||
let
|
let
|
||||||
date = fmtter full "calendar" "%y/%m/%d" time
|
date = fmtter full "calendar" "%m/%d" time
|
||||||
hour = fmtter full "clock" "%H:%M" time
|
hour = fmtter full "clock" "%H:%M" time
|
||||||
in printf "%s%s%s%s " separator date separator hour
|
in printf "%s%s%s%s " separator date separator hour
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue