Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/fecha.py
diff options
context:
space:
mode:
authorYader Velásquez <yajosev@gmail.com>2010-08-29 02:27:06 (GMT)
committer Yader Velásquez <yajosev@gmail.com>2010-08-29 02:27:06 (GMT)
commit8e2b57cbb62f98921da0369a8811102efdce9bb4 (patch)
tree0bfb1301eb5e14fdaf7913c983ce1d80e2dc4bb0 /fecha.py
parentb4607aaa9e7f452f54adad6ae6525819a12ee191 (diff)
ya funciona la vista de actividades con textview
Diffstat (limited to 'fecha.py')
-rw-r--r--fecha.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/fecha.py b/fecha.py
index 000d30c..67dbd47 100644
--- a/fecha.py
+++ b/fecha.py
@@ -19,16 +19,6 @@
from time import localtime, strftime, mktime
from datetime import datetime
-#def fecha_actual():
-# '''return a friendly date''' #esta fecha es la que se muestra arriba del calendario
-# fecha = datetime.today()
-# return fecha.strftime("%d de %B de %Y")
-
-#def fecha_cadena():
-# '''return a string of the date''' #este es el formato de fecha para los indices de efemerides
-# fecha = datetime.today()
-# return fecha.strftime("%y-%b-%d")
-
class FechaUnix(object):
'''for get, convert and return dates based on the unix date'''
@@ -56,7 +46,7 @@ class FechaNormal(object):
def fecha_actual(self):
'''return the actual date'''
self.fecha = datetime.today()
- return self.fecha.strftime("%y-%b-%d")
+ return self.fecha.strftime("%d de %B de %Y")
def fecha_especial(self):
'''special format of a date for