Opened 12 years ago

Closed 12 years ago

#2517 closed Enhancement (fixed)

Reported by: oolon Owned by: John Clay
Priority: Normal Milestone:
Component: Website Version:
Severity: Normal Keywords: Scripts Website


The line - if $time -ge $start_time && $time -lt $end_time ?; then

should read - if $((10#$time)) -ge $start_time && $((10#$time)) -lt $end_time ?; then

otherwise if time=(date + %H) returns 09,08 etc then $time is treated as an octal number and you get an error...

Change History (1)

comment:1 Changed 12 years ago by charles

  • Milestone Sometime deleted
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.