After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 445434 - calendar sub-options are not parsed correctly
calendar sub-options are not parsed correctly
Status: RESOLVED NOTABUG
Product: zenity
Classification: Core
Component: general
2.19.x
Other All
: Normal minor
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-08 09:34 UTC by Áron Sisak
Modified: 2007-06-08 10:19 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Áron Sisak 2007-06-08 09:34:12 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:
Comment 1 Áron Sisak 2007-06-08 10:19:29 UTC
Seems to be octal number parsing, i.e., a feature, not a bug.