--day option no longer accepts 0 padded inputs

Bug #119287 reported by Simon Jackson
4
Affects Status Importance Assigned to Milestone
Zenity
Invalid
Low
zenity (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: zenity

The current up to date zenity refuses 0 prepended day inputs, which I think it used to accept, and accepts for other inputs.

Steps to reproduce follow
------------------------------
sj310@laptop:~$ zenity --calendar --day 8
06/08/2007
sj310@laptop:~$ zenity --calendar --day 08
This option is not available. Please see --help for all possible usages.
sj310@laptop:~$ zenity --version
2.18.1

Revision history for this message
Áron Sisak (asisak) wrote :

Seems to be a real weird bug. In up-to-date gutsy
--day 8 is accepted
--day 01, 02 ... 07 is accepted, whereas --day 08,09 is not accepted
--month 08,09 is not accepted
Similar with --year.

Changed in zenity:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
Simon Jackson (sj310) wrote :

Hmm, could be something to do with octal parsing, maybe? That would make _some_ sense.

Revision history for this message
Áron Sisak (asisak) wrote :

Yes, you seem to be right. This is a feature, not a bug.

Changed in zenity:
status: Confirmed → Rejected
Changed in zenity:
status: Unknown → Rejected
Changed in zenity:
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.