Manual captcha ticket storage payload.
| 254 | parts = normalized.split(":") |
| 255 | if len(parts) not in (2, 3) or any(not part.isdigit() for part in parts): |
| 256 | raise ValueError("scheduled_start_time 必须是 HH:MM 或 HH:MM:SS") |
| 257 | hour = int(parts[0]) |
| 258 | minute = int(parts[1]) |
| 259 | second = int(parts[2]) if len(parts) == 3 else 0 |
| 260 | if hour < 0 or hour > 23 or minute < 0 or minute > 59: |
| 261 | raise ValueError("scheduled_start_time 必须是有效的 HH:MM 或 HH:MM:SS") |
| 262 | if second < 0 or second > 59: |
| 263 | raise ValueError("scheduled_start_time 秒数必须在 00 到 59 之间") |
| 264 | return f"{hour:02d}:{minute:02d}:{second:02d}" |
| 265 | |
| 266 |
nothing calls this directly
no outgoing calls
no test coverage detected