Skip to content

v1.7.1 - Calendar Parsing Fix

Choose a tag to compare

@jonathanpberger jonathanpberger released this 17 Sep 16:39
· 4 commits to main since this release

πŸ› Bug Fixes

  • Fixed octal number parsing error in calendar duration calculations that caused crashes when processing events with times like 09:XX
  • Calendar table now displays correctly without errors

πŸ”§ Technical Details

  • Replaced ${hours * 60 + minutes} with $(( 10#$hours * 60 + 10#$minutes )) to force base-10 interpretation
  • Affects duration calculations in lib/calendar.sh lines 319 and 423
  • Fixes error: 09: value too great for base (error token is "09")

Full Changelog: v1.7.0...v1.7.1