         baseDetail.exp = exp
         for index in [0..needToUpdate.length - 1]
           needToUpdate[index] = true
-      else if (getRefreshTime('') - baseDetail.updateTime) > 43200000 # 60 * 60 * 1000 * 12
-        for index in [0..needToUpdate.length - 1]
-          needToUpdate[index] = true
+      else
+        if (getRefreshTime('') - baseDetail.updateTime) > 43199000 # 60 * 60 * 1000 * 12
+          for index in [0..needToUpdate.length - 1]
+            needToUpdate[index] = true
       @setState
         baseDetail: baseDetail
         memberId: parseInt memberId

  item is true
isFalse = (item) ->
  item is false
getRefreshTime = (type) ->
  date = new Date()
  hour = date.getUTCHours()
  if type is 'next'
    time = [18, 6]
    offset = 0
  else
    time = [6, 18]
    offset = -1
  if hour in [6..17]
    date.setUTCHours(time[0])
    #date.setUTCDate(date.getUTCDate() + offset[0])
  else
    date.setUTCHours(time[1])
    date.setUTCDate(date.getUTCDate() + offset)

  date.getTime()

timeToRefresh = ->
  anHour = 60 * 60 * 1000
  date = new Date()
  if isLastDay() and (date.getUTCHours() + 9) > 15
    ten = (22 - 9) * anHour
    time = 24 * anHour - (Date.now() - ten) % (24 * anHour)
  else

            <div style={getStatusStyle update[0]}>
              <h5>截止至  {timeToString detail.updateTime} 时</h5>
              <h5>顺位:  {detail.ranking}位 ({
                                                  if detail.rankingDelta < 0
                                                    "↑#{detail.rankingDelta}"
                                                  else if detail.rankingDelta > 0
                                                    "↓#{detail.rankingDelta}"
                                                  else
                                                    '-'})</h5>
