0

关于datebox的format问题!

asked 2010-03-31 01:37:13 +0800

yjfjay gravatar image yjfjay
18 1

例如: <datebox id="db" width="150px" format="yyyy/MM"/>
datebox 的format设成“yyyy/MM”,在选择2010/02时, datebox文本框显示的都是2010/03 , 这应该是一个ZK的bug, 有办法解决吗?

delete flag offensive retag edit

7 Replies

Sort by » oldest newest

answered 2010-03-31 01:41:33 +0800

yjfjay gravatar image yjfjay
18 1

问题补充: 经过尝试发现:datebox 的format设成“yyyy/MM”, 每一年的二月份都选择不出来!

link publish delete flag offensive edit

answered 2010-03-31 02:14:43 +0800

PeterKuo gravatar image PeterKuo
481 2

please report to bug, it can help us track there.

link publish delete flag offensive edit

answered 2010-03-31 19:42:08 +0800

yjfjay gravatar image yjfjay
18 1

没有报错,就是选择二月份的时候,文本框里都会变成三月份

link publish delete flag offensive edit

answered 2010-05-31 06:00:56 +0800

yjfjay gravatar image yjfjay
18 1

这个问题再次出现,每个月的最后几天就会出现选上个月的年月,当前日期201005选择上个月201004,一直选不到...... ???

link publish delete flag offensive edit

answered 2010-05-31 19:54:18 +0800

PeterKuo gravatar image PeterKuo
481 2

I tested in zk live demo,
no such issue.

link publish delete flag offensive edit

answered 2010-06-03 20:12:16 +0800

yjfjay gravatar image yjfjay
18 1

月末30号31号时就会出现这种问题,你把系统时间调整到5月31号,再测试 <datebox id="db" width="150px" format="yyyy/MM"/> ……ZK live Demo上我测过,也有这个问题……

link publish delete flag offensive edit

answered 2010-06-03 20:53:55 +0800

PeterKuo gravatar image PeterKuo
481 2

You're right.
I post a bug at:
https://sourceforge.net/tracker/?func=detail&aid=3011319&group_id=152762&atid=785191

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-03-31 01:37:13 +0800

Seen: 1,319 times

Last updated: Jun 03 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More