Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: #392 save data using UTC
  • Loading branch information
enriquezrene committed Jun 16, 2020
commit 6bcb666ec02fcc1c9adb84bc9da6e7cd5860b9cd
1 change: 0 additions & 1 deletion src/app/modules/time-clock/store/entry.actions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ describe('Actions for Entries', () => {
it('LoadEntriesByTimeRange type is EntryActionTypes.LOAD_ENTRIES_BY_TIME_RANGE', () => {
const yesterday = moment(new Date()).subtract(1, 'day');
const today = moment(new Date());
const pipe: DatePipe = new DatePipe('en');
const timeRange: TimeEntriesTimeRange = {start_date: yesterday, end_date: today};
const action = new actions.LoadEntriesByTimeRange(timeRange);
expect(action.type).toEqual(actions.EntryActionTypes.LOAD_ENTRIES_BY_TIME_RANGE);
Expand Down