This commit is contained in:
parent
bf92a7e7e4
commit
cfea494f93
|
@ -46,7 +46,7 @@ def get_last_month(num):
|
||||||
if month<=0:
|
if month<=0:
|
||||||
month = 12 - (num-1)
|
month = 12 - (num-1)
|
||||||
year -= 1
|
year -= 1
|
||||||
return "%d-%d" % (year, month)
|
return "%d-%02d" % (year, month)
|
||||||
|
|
||||||
def collect_last_month_sells(spark):
|
def collect_last_month_sells(spark):
|
||||||
data = {}
|
data = {}
|
||||||
|
|
Loading…
Reference in New Issue