-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix: set default values to time widgets #4383
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
Conversation
09c553f
to
1a7fa65
Compare
@@ -8,6 +8,8 @@ import * as platform from "tns-core-modules/platform"; | |||
import * as datePickerModule from "tns-core-modules/ui/date-picker"; | |||
// << date-picker-require | |||
|
|||
const currentDateFactory = () => new Date(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not directly const currentDate = new Date();
instead of factory?
@@ -3,6 +3,9 @@ import { View, Property } from "../core/view"; | |||
|
|||
export * from "../core/view"; | |||
|
|||
const defaultDateFactory = () => new Date(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not directly const currentDate = new Date(); instead of factory?
154c601
to
5c6a017
Compare
uitests |
👍 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
No description provided.