date = time.gmtime() line doesn't belong to the if statement at the org code. So taking back the indentation
This commit is contained in:
parent
1013982509
commit
a20b17a855
|
@ -299,7 +299,7 @@ class Planet:
|
||||||
# Update time
|
# Update time
|
||||||
# Gezegen sayfasindaki son guncellenme zamanini dogru gmstermesi icin localtime olarak degistirildi
|
# Gezegen sayfasindaki son guncellenme zamanini dogru gmstermesi icin localtime olarak degistirildi
|
||||||
# date = time.gmtime()
|
# date = time.gmtime()
|
||||||
date = time.localtime()
|
date = time.localtime()
|
||||||
tp.set("date", time.strftime(date_format, date))
|
tp.set("date", time.strftime(date_format, date))
|
||||||
tp.set("date_iso", time.strftime(TIMEFMT_ISO, date))
|
tp.set("date_iso", time.strftime(TIMEFMT_ISO, date))
|
||||||
tp.set("date_822", time.strftime(TIMEFMT_822, date))
|
tp.set("date_822", time.strftime(TIMEFMT_822, date))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user