Menu

Bug 03: 解析 array(1,2,3)在斷行下出錯!

canred
2013-10-11
2013-10-12
  • canred

    canred - 2013-10-11

    source code:

    var aryMonthDays = new Array(
    / Jan / 31, / Feb / 29, / Mar / 31, / Apr / 30,
    / May / 31, / Jun / 30, / Jul / 31, / Aug / 31,
    / Sep / 30, / Oct / 31, / Nov / 30, / Dec / 31 );


    Output code:

    var aryMonthDays = new Array(; 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
    aryMonthDays[1] = (((!(nYear % 4)) && (nYear % 100)) || !(nYear % 400)) ? 29 : 28
    return aryMonthDays[nMonth - 1];
    };

     
  • canred

    canred - 2013-10-12

    這一個問題已經處理完成。

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.