Skip to content

Commit

Permalink
Update quartzite dependency to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
robbdimitrov committed Nov 14, 2019
1 parent 9f9c2cd commit 4add9c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Pixelgram is an image sharing service.

## Screenshots

Feed | Profile
--- | ---
[![Screenshot of feed screen](/docs/img/01_feed.png)](/docs/img/01_feed.png) | [![Screenshot of profile screen](/docs/img/02_profile.png)](/docs/img/02_profile.png)
| Feed | Profile |
| --- | --- |
| [![Screenshot of feed screen](/docs/img/01_feed.png)](/docs/img/01_feed.png) | [![Screenshot of profile screen](/docs/img/02_profile.png)](/docs/img/02_profile.png) |

## Setup

Expand Down
6 changes: 3 additions & 3 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@fortawesome/fontawesome-svg-core": "^1.2.25",
"@fortawesome/free-regular-svg-icons": "^5.11.2",
"@fortawesome/free-solid-svg-icons": "^5.11.2",
"quartzite": "^1.0.2",
"quartzite": "^2.0.0",
"rxjs": "~6.4.0",
"tslib": "^1.10.0",
"zone.js": "~0.9.1"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/shared/pipes/relative-date.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import * as quartzite from 'quartzite';
})
export class RelativeDatePipe implements PipeTransform {
transform(value: Date): string {
return quartzite.formatDate(value);
return quartzite.dateString(value);
}
}

0 comments on commit 4add9c4

Please sign in to comment.