projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc14e7e
)
Minor formatting.
author
Steve Losh
<steve@stevelosh.com>
Thu, 25 Jun 2009 21:57:27 +0000
(17:57 -0400)
committer
Steve Losh
<steve@stevelosh.com>
Thu, 25 Jun 2009 21:57:27 +0000
(17:57 -0400)
web.py
patch
|
blob
|
history
diff --git
a/web.py
b/web.py
index bd7a89b7725bc4ff84b4f7240274858358fd9730..9155c97574c3e65945402c88a48ff336aa621fe9 100644
(file)
--- a/
web.py
+++ b/
web.py
@@
-9,6
+9,7
@@
def datetimeformat(value, format='%B %d, %Y at %I:%M %p'):
"""Takes a timestamp and revormats it into a human-readable string."""
return datetime.fromtimestamp(value).strftime(format)
+
class WebInterface:
"""The web interface to CFBE."""