Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h5.ui.FormController 入力値が指定した日付よりも過去または未来かを判定するルールがほしい #557

Closed
mtakeuchi opened this issue Apr 28, 2016 · 0 comments
Assignees
Milestone

Comments

@mtakeuchi
Copy link
Contributor

入力値が"指定した日付"より未来かどうかを判定するルールと、 入力値が"指定した日付"より過去かどうかを判定するルールを新たに追加してほしい。
または、future/pastで、入力値と比較する日付がaddRule()時に指定出来るようにしてほしい。(未指定の場合は現在時刻)

@simdy simdy added this to the v1.2.4 milestone Aug 1, 2016
tkmHashi pushed a commit that referenced this issue Aug 3, 2016
tkmHashi pushed a commit that referenced this issue Aug 3, 2016
futureのパラメータを指定できること
pastのパラメータを指定できること
futureのパラメータを指定し、入力が未来の時刻だけtrueになること
pastのパラメータを指定し、入力が過去の時刻だけtrueになること
@tkmHashi tkmHashi mentioned this issue Aug 3, 2016
tkmHashi pushed a commit that referenced this issue Aug 3, 2016
未来と現在時刻の差を1ミリ秒から1秒に変更
過去と現在時刻の差を1ミリ秒から1秒に変更
simdy pushed a commit that referenced this issue Apr 9, 2018
どちらのルールも、基準時刻はreferenceTimeという名前で定義されます。
(ルールに違反した場合のViolationの中でもreferenceTimeの名前で取ることができる。)
@simdy simdy assigned simdy and unassigned tkmHashi Apr 9, 2018
@simdy simdy closed this as completed May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants