File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -255,8 +255,8 @@ window.onload = function () {
255255 const title = r . copyright ;
256256 const imageUrl = r . url ;
257257 const today = new Date ( ) ;
258- const month = ( today . getMonth ( ) + 1 ) . toString ( ) . padStart ( 2 , '0' ) ;
259- const day = today . getDate ( ) . toString ( ) . padStart ( 2 , '0' ) ;
258+ const month = ( today . getMonth ( ) + 1 ) . toString ( ) . padStart ( 2 , "0" ) ;
259+ const day = today . getDate ( ) . toString ( ) . padStart ( 2 , "0" ) ;
260260 const date = today . getFullYear ( ) + "/" + month + "/" + day ;
261261
262262 const Info = {
@@ -284,8 +284,8 @@ window.onload = function () {
284284 // Bing 壁纸备选方案
285285 function useBingFallback ( ) {
286286 const today = new Date ( ) ;
287- const month = ( today . getMonth ( ) + 1 ) . toString ( ) . padStart ( 2 , '0' ) ;
288- const day = today . getDate ( ) . toString ( ) . padStart ( 2 , '0' ) ;
287+ const month = ( today . getMonth ( ) + 1 ) . toString ( ) . padStart ( 2 , "0" ) ;
288+ const day = today . getDate ( ) . toString ( ) . padStart ( 2 , "0" ) ;
289289 const date = today . getFullYear ( ) + "/" + month + "/" + day ;
290290
291291 const Info = {
You can’t perform that action at this time.
0 commit comments