thanks rust compiler

This commit is contained in:
2025-06-10 18:46:17 -07:00
parent 5a3b13a9f5
commit 41cdf26fdf

View File

@@ -693,7 +693,7 @@ async fn release(config:ReleaseConfig)->Result<(),ReleaseError>{
let start_date=match latest_date.get(&game){
Some(&date)=>{
// round to friday
(date+ONE_WEEK>>1-FRIDAY)/ONE_WEEK*ONE_WEEK+FRIDAY+PEAK_HOURS
(date+(ONE_WEEK>>1)-FRIDAY)/ONE_WEEK*ONE_WEEK+FRIDAY+PEAK_HOURS
// add a week
+ONE_WEEK
},