Menu

#258 --calendar --month=08 > parse error

New
nobody
None
Medium
Defect
2015-08-04
2015-08-04
bpo
No

What steps will reproduce the problem?
yad --calendar --month=08

echoes:
Unable to parse command line: Cannot parse integer value '08' for --month

 Same error with --month=09.
 No error with --month=8 or --month=9.
 No error with other month (01 - 07, 10-12 ).

Versions
0.29.0 (GTK+ 2.24.23)     x86_64     openSUSE 13.1

Discussion

  • Victor Ananjevsky

    there is not a bug. leading zero in numbers uses as a mark that this number is octal. and there are no digits 8 and 9 in this numeral system

     
  • bpo

    bpo - 2015-08-04

    Ah, thanks.
    08 is calculated output from the command date.
    E.g. date +%m > 08.
    Now I use date +%-m > 8.

     

Log in to post a comment.