mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
parent
bfad769f93
commit
43409b3089
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@
|
||||||
from plexpy import logger, database, helpers, common
|
from plexpy import logger, database, helpers, common
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
|
import locale
|
||||||
|
|
||||||
|
|
||||||
class Graphs(object):
|
class Graphs(object):
|
||||||
|
@ -311,7 +312,7 @@ class Graphs(object):
|
||||||
dt = datetime.datetime(*month_item[:6])
|
dt = datetime.datetime(*month_item[:6])
|
||||||
date_string = dt.strftime('%Y-%m')
|
date_string = dt.strftime('%Y-%m')
|
||||||
|
|
||||||
categories.append(dt.strftime('%b %Y'))
|
categories.append(dt.strftime('%b %Y').decode(locale.getlocale()[1]))
|
||||||
series_1_value = 0
|
series_1_value = 0
|
||||||
series_2_value = 0
|
series_2_value = 0
|
||||||
series_3_value = 0
|
series_3_value = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue