forked from se-edu/addressbook-level4
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Allow user to see the actual open and close time of tasks #73
Merged
Merged
Changes from 3 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
5891558
Merge pull request #70 from CS2103AUG2016-T14-C4/develop
Skaty 572c52c
Add actual time on UI
SukiTsang 62ad5e7
Add bracket to the time string
SukiTsang e76ee59
Added new DateTime string representation
Skaty e96a04d
Change UI and UI Test Handle to utilise new DateTime display format
Skaty 9c96ca1
Update test set so that it is more accurate (i.e. 2 weeks is 14 days,…
Skaty 75fec51
Made writeability test optional if OS does not support flag
Skaty 1c391fa
Merge branch 'develop' into show-actual-time-on-UI
Skaty 95be3f8
Merge branch 'develop' into show-actual-time-on-UI
Skaty f320794
Merge branch 'develop' into show-actual-time-on-UI
Skaty 7242e0e
Fix visual state equality
Skaty 3865657
Merge branch 'develop' into show-actual-time-on-UI
Skaty e0bff21
Merge develop into branch
Skaty File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,13 +42,19 @@ | |
<HBox spacing="5" alignment="CENTER_LEFT"> | ||
<children> | ||
<Label styleClass="cell_big_label" text="Start: "></Label> | ||
<Label fx:id="openTime" styleClass="cell_big_label" text="\$openTime" /> | ||
<Label fx:id="actualOpenTime" styleClass="cell_big_label" text="\$actualOpenTime" /> | ||
<Label fx:id="firstOpenBracket" styleClass="cell_big_label" text="\$firstOpenBracket" /> | ||
<Label fx:id="openTime" styleClass="cell_big_label" text="\$openTime" /> | ||
<Label fx:id="firstCloseBracket" styleClass="cell_big_label" text="\$firstCloseBracket" /> | ||
</children> | ||
</HBox> | ||
<HBox spacing="5" alignment="CENTER_LEFT"> | ||
<children> | ||
<Label styleClass="cell_big_label" text="End: "></Label> | ||
<Label fx:id="closeTime" styleClass="cell_big_label" text="\$closeTime" /> | ||
<Label fx:id="actualCloseTime" styleClass="cell_big_label" text="\$actualCloseTime" /> | ||
<Label fx:id="secondOpenBracket" styleClass="cell_big_label" text="\$secondOpenBracket" /> | ||
<Label fx:id="closeTime" styleClass="cell_big_label" text="\$closeTime" /> | ||
<Label fx:id="secondCloseBracket" styleClass="cell_big_label" text="\$secondCloseBracket" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same thing here. |
||
</children> | ||
</HBox> | ||
</children> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Please use
String.format
instead of splitting it into multiple Labels.Reference: Java Documentation, Format specifiers