Added new method for datetie
This commit is contained in:
parent
1d696c65ee
commit
24af1883f9
2 changed files with 5 additions and 1 deletions
|
|
@ -230,6 +230,10 @@ def format_local_fulldate(timeform):
|
|||
|
||||
return format_datetime(format_date_txt+' '+format_time_txt, timeform, no_utc)
|
||||
|
||||
def format_strtime(strtime, timeform):
|
||||
|
||||
return format_datetime(strtime, timeform, sum_utc)
|
||||
|
||||
def format_local_strtime(strtime, timeform):
|
||||
|
||||
return format_datetime(strtime, timeform, no_utc)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import errno
|
|||
import time
|
||||
import shutil
|
||||
import uuid
|
||||
from diskcache import Cache
|
||||
#from diskcache import Cache
|
||||
#from dogpile.cache import make_region
|
||||
|
||||
# Cookie session
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue