Adding time interval blocking#100
Conversation
Users can now specify when sites should be blocked using time ranges and day ranges. Sites without time intervals continue to be blocked 24/7, maintaining backward compatibility. Examples: - example.com 9:00-17:00 (block 9am-5pm daily) - facebook.com Mon-Fri 9:00-17:00 (block weekdays only) - youtube.com Sat-Sun (block weekends all day) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add time interval support for site blocking
This allows users to specify complex blocking schedules with: - Multiple time ranges per entry (e.g., block mornings and afternoons separately) - Different schedules for different days (e.g., weekday vs weekend hours) - Lunch break scenarios (e.g., 9:00-12:00 14:00-17:00) Examples: - example.com 9:00-12:00 14:00-17:00 - facebook.com Mon-Fri 9:00-12:00 14:00-17:00 - youtube.com Mon-Fri 9:00-17:00 Sat 10:00-14:00 Changes schedules from single objects to arrays while maintaining full backward compatibility with existing single time range syntax. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add Time-based blocking section to README with examples - Document multiple time ranges, day ranges, and multiple schedules - Bump version from 8.2.1 to 8.3.0 for new feature Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Multiple time ranges
SummaryAdds support for multiple time ranges and complex blocking schedules, enabling users to: Specify multiple time ranges per entry (e.g., block morning and afternoon with lunch break) Multiple time ranges (no lunch blocking)example.com 9:00-12:00 14:00-17:00 Multiple times on specific daysfacebook.com Mon-Fri 9:00-12:00 14:00-17:00 Different schedules for different daysyoutube.com Mon-Fri 9:00-17:00 Sat 10:00-14:00 Complex: weekdays (morning+afternoon) + Saturday (morning only)reddit.com Mon-Fri 9:00-12:00 14:00-18:00 Sat 10:00-12:00 🤖 Generated with Claude Code |
Hello there!
This is a PR to add time-interval blocking features to block site.