Closed ananwbr closed 11 years ago
Your fix is good. And with your fix, the scrolling from May 31st to April 30th is no problem, can you describe more clear about the issue when scrolling from May 31st to Apr 30th?
I added another commit to fix the issue when scrolling from May 31st to April 30th after I pulled the request. I also changed my issue description to chinese in order to clarify clearly after I saw you come from Taipei. So u can read Chinese right? Also thanks for your latest update :D.
WuBingru Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On 2013年8月1日Thursday at 下午2:26, Steven Shen wrote:
Your fix is good. And with your fix, the scrolling from May 31st to April 30th is no problem, can you describe more clear about the issue when scrolling from May 31st to Apr 30th?
— Reply to this email directly or view it on GitHub (https://github.com/syshen/FlatDatePicker/pull/2#issuecomment-21917241).
原来用中文也可以。。。首先感谢一下你贡献的这个控件啊。 我遇到的问题是如果当前显示的日期是比如2013-3-30,然后滚动月选择器到2月,此时显示2013-2-30。我们希望看到的结果应该是日选择器自动滚到28号。但是此时通过date属性得到的日期为2013-3-2号,而collection view的更新逻辑是根据3月二号来更新的,日选择器依然显示2月有31天,这显然是不正确的。从2013-3-31改到2013-4-31也有同样的问题。 我在自己的项目中做了点修改,可能不是最好的方法。主要是想询问一下你对这个问题的看法,或许我们的逻辑不同,是不是有更好的解决方法呢。