Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/fecha.py
diff options
context:
space:
mode:
Diffstat (limited to 'fecha.py')
-rw-r--r--fecha.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/fecha.py b/fecha.py
index abb3878..ea55808 100644
--- a/fecha.py
+++ b/fecha.py
@@ -19,6 +19,7 @@ from time import localtime, strftime, mktime
from datetime import datetime, date
from gettext import gettext as _
+
class FechaUnix(object):
'''for get, convert and return dates based on the unix date'''
@@ -38,7 +39,8 @@ class FechaUnix(object):
self.fecha_unix = fecha_unix
self.fecha_unix = int(self.fecha_unix)
return strftime("%y%m%d", localtime(self.fecha_unix))
-
+
+
class FechaNormal(object):
'''Get, convert and return dates in our popular format'''
def __init__(self):