mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 07:22:29 +03:00
common.get_wiki_timestamp() for posting timestamps to wiki log pages
This commit is contained in:
parent
e013fde8b9
commit
df51a6e999
2 changed files with 9 additions and 8 deletions
|
@ -3010,3 +3010,8 @@ def get_examples_dir():
|
|||
examplesdir = prefix + '/examples'
|
||||
|
||||
return examplesdir
|
||||
|
||||
|
||||
def get_wiki_timestamp():
|
||||
"""Return current time in the standard format for posting to the wiki"""
|
||||
return time.strftime("%Y-%m-%d %H:%M:%SZ", time.gmtime())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue