diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-03-14 17:59:47 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-03-14 17:59:47 -0400 |
commit | c2255c60fa5bca3f49fa30aa81a20fcdaa603dc3 (patch) | |
tree | 8c292aff73e9de1160b449c198976936ec1a7530 /forum/utils/time.py | |
parent | 24002cc267b4664e233faaf6f9c292de30eb6e0d (diff) | |
download | askbot-c2255c60fa5bca3f49fa30aa81a20fcdaa603dc3.tar.gz askbot-c2255c60fa5bca3f49fa30aa81a20fcdaa603dc3.tar.bz2 askbot-c2255c60fa5bca3f49fa30aa81a20fcdaa603dc3.zip |
dos2unix
Diffstat (limited to 'forum/utils/time.py')
-rwxr-xr-x | forum/utils/time.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forum/utils/time.py b/forum/utils/time.py index 5fd15e24..39e01d0f 100755 --- a/forum/utils/time.py +++ b/forum/utils/time.py @@ -1,4 +1,4 @@ -import datetime
-
-def one_day_from_now():
- return datetime.datetime.now() + datetime.timedelta(days=1)
+import datetime + +def one_day_from_now(): + return datetime.datetime.now() + datetime.timedelta(days=1) |