diff --git a/malojatime.py b/malojatime.py index d789b8c..98c635f 100644 --- a/malojatime.py +++ b/malojatime.py @@ -391,6 +391,7 @@ def time_fix(t): if isinstance(t,MRangeDescriptor): return t if isinstance(t, str): + if t in ["alltime"]: return None tod = datetime.datetime.utcnow() months = ["january","february","march","april","may","june","july","august","september","october","november","december"] weekdays = ["sunday","monday","tuesday","wednesday","thursday","friday","saturday"] diff --git a/settings/default.ini b/settings/default.ini index b6661ab..9999031 100644 --- a/settings/default.ini +++ b/settings/default.ini @@ -27,8 +27,8 @@ LOCAL_IMAGE_ROTATE = 3600 # when multiple images are present locally, how many s DEFAULT_RANGE_CHARTS_ARTISTS = year DEFAULT_RANGE_CHARTS_TRACKS = year # same for pulse view -# can be days, weeks, months, years -DEFAULT_RANGE_PULSE = months +# can be day, week, month, year +DEFAULT_STEP_PULSE = month [Fluff] diff --git a/website/artist.html b/website/artist.html index 82f3449..7853411 100644 --- a/website/artist.html +++ b/website/artist.html @@ -33,35 +33,35 @@
- Pulse+Pulse- 7 days - | 12 weeks - | 12 months - | 10 years + 7 days + | 12 weeks + | 12 months + | 10 years- KEY_PULSE_MONTHS - - - + KEY_PULSE_MONTHS + + + |
- Performance- 7 days - | 12 weeks - | 12 months - | 10 years +Performance+ 7 days + | 12 weeks + | 12 months + | 10 years- KEY_PERFORMANCE_MONTHS - - - + KEY_PERFORMANCE_MONTHS + + + |