FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: set default values to time widgets by sis0k0 · Pull Request #4383 · NativeScript/NativeScript · GitHub

fix: set default values to time widgets - #4383

Merged
sis0k0 merged 7 commits into
masterfrom
vlaeva/time-properties-default-values
Aug 3, 2017
Merged

sis0k0 merged 7 commits into
masterfrom
vlaeva/time-properties-default-values

Conversation

sis0k0 commented Jun 14, 2017

Copy link
Copy Markdown
Contributor

No description provided.

import * as datePickerModule from "tns-core-modules/ui/date-picker";
// << date-picker-require

const currentDateFactory = () => new Date();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Why not directly const currentDate = new Date(); instead of factory?


export * from "../core/view";

const defaultDateFactory = () => new Date();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Why not directly const currentDate = new Date(); instead of factory?

SvetoslavTsenov changed the title fix: set default values to time widgets [In Progress] fix: set default values to time widgets Jun 27, 2017
sis0k0 self-assigned this Jul 5, 2017
sis0k0 added this to the 3.2 (TBD) milestone Jul 5, 2017
sis0k0 force-pushed the vlaeva/time-properties-default-values branch from 154c601 to 5c6a017 Compare August 3, 2017 12:51
NativeScript deleted a comment from SvetoslavTsenov Aug 3, 2017
NativeScript deleted a comment from SvetoslavTsenov Aug 3, 2017
NativeScript deleted a comment from SvetoslavTsenov Aug 3, 2017

sis0k0 commented Aug 3, 2017

Copy link
Copy Markdown
Contributor Author

uitests

sis0k0 changed the title [In Progress] fix: set default values to time widgets fix: set default values to time widgets Aug 3, 2017
sis0k0 added the ready for test TSC needs to test this and confirm against live production apps and automated test suites label Aug 3, 2017

Copy link
Copy Markdown
Contributor

👍

sis0k0 merged commit 14098d4 into master Aug 3, 2017
ghost removed the ready for test TSC needs to test this and confirm against live production apps and automated test suites label Aug 3, 2017
sis0k0 deleted the vlaeva/time-properties-default-values branch August 3, 2017 19:03

lock Bot commented Aug 27, 2019

Copy link
Copy Markdown

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.

lock Bot locked and limited conversation to collaborators Aug 27, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL