Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.

Conversation

qingweibinary
Copy link
Contributor

This depends on
#109

Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we using string actually?
Because of input type=date ?
If it was Date it would just be a '>' comparison.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because that's what backend returns ~
And it represent time instead of Date, we need to use string like
'09:09:00' and '12:00:00' to determine if the market is close or open, any idea of improvement ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Definitely we will have a transform on the server_data inputs. We can even have it as an extension to live-api. Not today, but lets consider it soon.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea about extending live-api ~
Yea, right now let's have it as string :(

@borisyankov
Copy link
Contributor

Done with review. Fix small issues and merge conflict and I merge ;)

borisyankov added a commit that referenced this pull request Feb 1, 2016
@borisyankov borisyankov merged commit 013e739 into regentmarkets-repo-archive:master Feb 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants