kopia lustrzana https://github.com/ctjacobs/pyqso
rodzic
62f952712e
commit
9e55df40ce
|
@ -471,7 +471,6 @@ class CalendarDialog(Gtk.Dialog):
|
|||
logging.debug("Retrieving the date from the calendar widget...")
|
||||
(year, month, day) = self.calendar.get_date()
|
||||
# If necessary, add on leading zeros so the YYYYMMDD format is followed.
|
||||
print month, day
|
||||
if(month + 1 < 10):
|
||||
month = "0" + str(month + 1) # Note: the months start from an index of 0 when retrieved from the calendar widget.
|
||||
else:
|
||||
|
|
Ładowanie…
Reference in New Issue