Skip to content

Commit

Permalink
Merge branch 'main' into monil-fixPaymentAPIError
Browse files Browse the repository at this point in the history
  • Loading branch information
MonilBhavsar committed Nov 21, 2022
2 parents c1c073a + 52e3af0 commit e4fb5be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## Important tip for creating GitHub Workflows
All inputs and outputs to GitHub Actions and any data passed between jobs or workflows is JSON-encoded (AKA, strings). Keep this in mind whenever writing GitHub workflows – you may need to JSON-decode variables to access them accurately. Here's an example of a common way to misuse GitHub Actions data:



```yaml
name: CI
on: pull_request
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/DateUtilsTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('DateUtils', () => {
expect(DateUtils.datetimeToCalendarTime(LOCALE, yesterday)).toBe('Yesterday at 7:43 AM');

const date = moment.utc('2022-11-05').set({hour: 10, minute: 17});
expect(DateUtils.datetimeToCalendarTime(LOCALE, date)).toBe('Nov 5 at 10:17 AM');
expect(DateUtils.datetimeToCalendarTime(LOCALE, date)).toBe('Nov 5, 2022 at 10:17 AM');
});

it('should return the date in calendar time when calling datetimeToRelative', () => {
Expand Down

0 comments on commit e4fb5be

Please sign in to comment.