This repository has been archived by the owner on Nov 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Converting Date/Time to EST #200
Merged
Merged
Changes from 32 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
1466552
Fixed spacing for prettyifyDate
ashley d9a7d09
Import moment
ashley 730a795
Made helper preProcess for date conversion
ashley 0790ebc
Convert Event dates to EST
ashley 085df12
Fixed organization time
ashley b0e1c2d
Revert organization date conversion for refactoring
ashley 5ff8e15
Made default created and modifed times EST
ashley 192fcac
Fixed typo
ashley 1b158e5
Test case when time is null
ashley 0339983
Deleted console
ashley 0710d90
made changeDate function in PreProcess
ashley 4660dd7
Converted dates in expenses
ashley f4bb822
Converted time to EST in Incomes
ashley 5481279
Converted time to EST in Jobs
ashley 61f0fc2
Convert time to EST in membership
ashley f98dacf
Converted time to EST in organizations
ashley a9a3bb3
Converted time to EST in Person
ashley 0b218c0
Converted time to EST in Position
ashley 629cb6c
Converted time to EST in Reinbursement
ashley 226ef50
Converted time to EST in Venues
ashley 5b9e6ff
Fixed extra comment
ashley 35ede41
Refactor Events time code
ashley eb51fcc
Fixed moment version bug
ashley fe90fa0
Revert "Converted time to EST in Venues"
ashley 67ffeb7
Merge branch 'develop' into ashleychen.dev.time
ashleytqy 630cf83
Remove preProcess comment
ashley 47574ab
Fixed formatting of converted dates
ashley abc9abc
Merging
ashley cce7719
Remove preProcess commented code
ashley e94cde7
Included optional Array of attributes to convert Time in preProcess
ashley a3dca58
Refactored incomes list controller
ashley 0e23792
Rename changeDate() function to convertTimeAtrtributes()
ashley 42fe41f
Extra semicolon
ashley 9f8c58e
Replace prettifyDate() with moment implementation
ashley 46c49a1
Duplicate job expiration date
ashley fd8ea9b
Bad spelling
ashley f98ba66
Change paramenter from array to rest
ashley 936d6b6
Reverting code change for preprocessing
ashley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
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 |
---|---|---|
|
@@ -22,6 +22,7 @@ angular | |
} | ||
|
||
_.each($scope.data, element => { | ||
element = preProcess.convertTimeAtrtributes(element, Array("recievedOn")); | ||
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. since you are using |
||
Restangular.one("people/" + element.relationships.authorizer.data.id) | ||
.get() | ||
.then(data => { | ||
|
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
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
Oops, something went wrong.
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.
spelling -> Attributes