aboutsummaryrefslogtreecommitdiff
path: root/src/app/components
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-04-08 09:18:59 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-04-08 09:18:59 +0300
commitd12c7c4dbf117ecec60eae6f0dc8d9bb5ee339b5 (patch)
treeff80664d1f5b459a50f1966af593028f9d37765a /src/app/components
parentcfa5391e0f887f7da00ddce8d604897ca08b680f (diff)
downloadDevHive-Angular-d12c7c4dbf117ecec60eae6f0dc8d9bb5ee339b5.tar
DevHive-Angular-d12c7c4dbf117ecec60eae6f0dc8d9bb5ee339b5.tar.gz
DevHive-Angular-d12c7c4dbf117ecec60eae6f0dc8d9bb5ee339b5.zip
Fixed bad timezone offset
Diffstat (limited to 'src/app/components')
-rw-r--r--src/app/components/feed/feed.component.ts2
-rw-r--r--src/app/components/profile/profile.component.ts2
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;