mlhim-specs-dev team mailing list archive
-
mlhim-specs-dev team
-
Mailing list archive
-
Message #00624
[Branch ~cdd-dev/cdd/trunk] Rev 200: Corrected date in the generated cdd.
------------------------------------------------------------
revno: 200
fixes bug: https://launchpad.net/bugs/1030253
committer: Eduardo C. P. Ribeiro <eduardo.cesar@xxxxxxx>
branch nick: cdd
timestamp: Sat 2012-07-28 07:38:29 -0300
message:
Corrected date in the generated cdd.
modified:
src/cdg_main.py
--
lp:cdd
https://code.launchpad.net/~cdd-dev/cdd/trunk
Your team MLHIM Specifications Developers is subscribed to branch lp:cdd.
To unsubscribe from this branch go to https://code.launchpad.net/~cdd-dev/cdd/trunk/+edit-subscription
=== modified file 'src/cdg_main.py'
--- src/cdg_main.py 2012-07-27 23:27:36 +0000
+++ src/cdg_main.py 2012-07-28 10:38:29 +0000
@@ -490,7 +490,7 @@
language = panel.choice_lang.GetStringSelection()
tempo = panel.datepicker_ctrl_date.GetValue()
- date = '{Y}-{M}-{D:02}'.format(Y=tempo.GetYear(), M=tempo.GetMonth(), D=tempo.GetDay())
+ date = '{Y}-{M}-{D:02}'.format(Y=tempo.GetYear(), M=tempo.GetMonth()+1, D=tempo.GetDay())
self.get_info(title, description, date, creator, creator_email, contributor, language, publisher, subject, source, rights, relation, coverage)