GNOME Bugzilla – Bug 445434
calendar sub-options are not parsed correctly
Last modified: 2007-06-08 10:19:29 UTC
Please describe the problem: This bug has been opened here: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/119287 Zenity seems to refuse some of the 0-prepended inputs for switches as --day, --month or year. Steps to reproduce: 1. zenity --calendar --day 8 works 2. zenity --calendar --day 01 similarly works for 01..07 3. zenity --calendar --day 08 this does not work (neither for 09). Switches --month and --year behaves in the same way. Actual results: aron@lemon:~$ zenity --calendar --year 08 Error message appears: This option is not available. Please see --help for all possible usages. Expected results: To display the calendar dialog as if I invoked it with option "zenity --calendar --year 8". Does this happen every time? Tested on Ubuntu Feisty and Gutsy, and seems so. Other information:
Seems to be octal number parsing, i.e., a feature, not a bug.