diff options
Diffstat (limited to 'app/gtd/models.py')
-rw-r--r-- | app/gtd/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/gtd/models.py b/app/gtd/models.py index e3d49ce..af6ca69 100644 --- a/app/gtd/models.py +++ b/app/gtd/models.py @@ -44,9 +44,9 @@ class GTDOutcome(models.Model): class GTDProject(models.Model): PROJECT_TYPE = ( - (0, 'Wired'), + (0, 'wired'), (1, 'lbh'), - (2, 'Personal'), + (2, 'personal'), (3, 'lxf'), ) title = models.CharField(max_length=200) @@ -168,7 +168,7 @@ class WiredPost(models.Model): return self.title def time_since_update(self): - td = timezone.localdate() - self.date_last_pub + td = datetime.date.today() - self.date_last_pub return int(td.days) #def get_needs_update(self): |