diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-04-08 09:18:59 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-04-08 09:18:59 +0300 |
| commit | d12c7c4dbf117ecec60eae6f0dc8d9bb5ee339b5 (patch) | |
| tree | ff80664d1f5b459a50f1966af593028f9d37765a /src | |
| parent | cfa5391e0f887f7da00ddce8d604897ca08b680f (diff) | |
| download | DevHive-Angular-d12c7c4dbf117ecec60eae6f0dc8d9bb5ee339b5.tar DevHive-Angular-d12c7c4dbf117ecec60eae6f0dc8d9bb5ee339b5.tar.gz DevHive-Angular-d12c7c4dbf117ecec60eae6f0dc8d9bb5ee339b5.zip | |
Fixed bad timezone offset
Diffstat (limited to 'src')
| -rw-r--r-- | src/app/components/feed/feed.component.ts | 2 | ||||
| -rw-r--r-- | src/app/components/profile/profile.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/app/components/feed/feed.component.ts b/src/app/components/feed/feed.component.ts index 895bf76..4100e41 100644 --- a/src/app/components/feed/feed.component.ts +++ b/src/app/components/feed/feed.component.ts @@ -41,7 +41,7 @@ export class FeedComponent implements OnInit { this.files = []; const now = new Date(); - now.setHours(now.getHours() + 2); // accounting for eastern european timezone + now.setHours(now.getHours() + 3); // accounting for eastern european timezone this._timeLoaded = now.toISOString(); this.createPostFormGroup = this._fb.group({ diff --git a/src/app/components/profile/profile.component.ts b/src/app/components/profile/profile.component.ts index fc5d4d6..83f6517 100644 --- a/src/app/components/profile/profile.component.ts +++ b/src/app/components/profile/profile.component.ts @@ -41,7 +41,7 @@ export class ProfileComponent implements OnInit { this._urlUsername = this._router.url.substring(9); const now = new Date(); - now.setHours(now.getHours() + 2); // accounting for eastern europe timezone + now.setHours(now.getHours() + 3); // accounting for eastern europe timezone this._timeLoaded = now.toISOString(); this._currentPage = 1; |
