thanks rust compiler
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user