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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fecha.py b/fecha.py
index afe76ab..abb3878 100644
--- a/fecha.py
+++ b/fecha.py
@@ -55,8 +55,9 @@ class FechaNormal(object):
be use it like a dicctionary key
in the format day/month/year'''
return self.fecha.strftime("%d/%m/%y")
+
def numero_semana(self):
'''return the number of the current week'''
self.esta_semana = date.today()
self.semana = date.isocalendar(self.esta_semana)
- return int(self.semana[1])
+ return str(self.semana[1])