diff --git a/src/components/session-list/session-list.html b/src/components/session-list/session-list.html
index 1445eeb..baa7ff3 100644
--- a/src/components/session-list/session-list.html
+++ b/src/components/session-list/session-list.html
@@ -10,8 +10,9 @@
– -->
- {{session.timeStart | date: 'HH:mm': 'UTC'}} —
+ {{session.timeStart | date: 'HH:mm': 'UTC'}} —
{{session.timeEnd | date: 'HH:mm': 'UTC'}}
+
{{session.location ? session.location : ''}}
@@ -26,8 +27,9 @@
– {{speaker.name}}
- {{session.timeStart | date: 'HH:mm': 'UTC'}} —
+ {{session.timeStart | date: 'HH:mm': 'UTC'}} —
{{session.timeEnd | date: 'HH:mm': 'UTC'}}
+
{{session.location ? session.location : ''}}
@@ -61,8 +63,9 @@
– -->
- {{session.timeStart | date: 'HH:mm': 'UTC'}} —
+ {{session.timeStart | date: 'HH:mm': 'UTC'}} —
{{session.timeEnd | date: 'HH:mm': 'UTC'}}
+
{{session.location ? session.location : ''}}
@@ -77,8 +80,9 @@
– {{speakerById[speaker].name}}
- {{session.timeStart | date: 'HH:mm': 'UTC'}} —
+ {{session.timeStart | date: 'HH:mm': 'UTC'}} —
{{session.timeEnd | date: 'HH:mm': 'UTC'}}
+
{{session.location ? session.location : ''}}
@@ -109,8 +113,9 @@
{{ (sessionsOfDay[i] && sessionsOfDay[i][0].ti
- {{session.timeStart | date: 'HH:mm': 'UTC'}} —
+ {{session.timeStart | date: 'HH:mm': 'UTC'}} —
{{session.timeEnd | date: 'HH:mm': 'UTC'}}
+
@@ -190,8 +195,9 @@
– {{speakerById[speaker].name}}
- {{session.timeStart | date: 'HH:mm': 'UTC'}} —
+ {{session.timeStart | date: 'HH:mm': 'UTC'}} —
{{session.timeEnd | date: 'HH:mm': 'UTC'}}
+
{{session.location ? session.location : ''}}
diff --git a/src/components/session-list/session-list.ts b/src/components/session-list/session-list.ts
index cc7cbec..983632a 100644
--- a/src/components/session-list/session-list.ts
+++ b/src/components/session-list/session-list.ts
@@ -58,7 +58,8 @@ export class SessionListComponent {
}
// group session by days
- let d = new Date(session.timeStart);
+ let timeDiffMs = (new Date(session.timeStart).getTimezoneOffset()) * 60 * 1000;
+ let d = new Date(new Date(session.timeStart).getTime() + timeDiffMs);
let key = d.getFullYear() + "-" + (d.getMonth()+1) + "-" + d.getDate();
if(key != lastKeyDay){
dayIndex++;