瀏覽代碼

Merge branch 'developer_master' of https://gitlab.com/Arisono/SkWeiChat-Baidu into developer_master

LiuJie 10 年之前
父節點
當前提交
c972881f98
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      WeiChat/src/main/java/com/sk/weichat/ui/calendar/views/MonthView.java

+ 2 - 2
WeiChat/src/main/java/com/sk/weichat/ui/calendar/views/MonthView.java

@@ -574,8 +574,8 @@ public class MonthView extends View {
                     if (mDPMode == DPMode.SINGLE) {
                         cirApr.clear();
                         regions.add(region);
-                        int da = Integer.getInteger(mCManager.obtainDPInfo(centerYear, centerMonth)[i][j].strG);
-                        final String date = centerYear + "-" + (centerMonth < 10 ? "0" + centerMonth : centerMonth) + "-" + (da < 10 ? "0" + da : da);
+                        int is = Integer.parseInt(mCManager.obtainDPInfo(centerYear, centerMonth)[i][j].strG.trim());
+                        final String date = centerYear + "-" + (centerMonth < 10 ? "0" + centerMonth : centerMonth) + "-" + (is < 10 ? ("0" + is) : is);
                         BGCircle circle = createCircle(
                                 region.getBounds().centerX() + indexMonth * width,
                                 region.getBounds().centerY() + indexYear * height);