Skip to content

Commit

Permalink
Merge pull request #651 from cristhian-caballero/master
Browse files Browse the repository at this point in the history
log session start time with time zone abbreviation
  • Loading branch information
adrianth authored Oct 3, 2024
2 parents 04ee795 + b963225 commit 60ade6a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions server/src/lib/session-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,10 +513,14 @@ export async function createSession(sessionProps: TestSessionProperties): Promis
}

async function startTestSession() {
log.info(helpers.format('Session {0} with label "{1}" started at {2} UTC',
var tzname = moment.tz.guess();
var zonename = moment.tz(tzname).zoneAbbr();
log.info(helpers.format('Session {0} with label "{1}" started at {2} {3}',
sessionId,
sessionProps.sessionLabel,
moment().utc().format('YYYY-MM-DD HH:mm:ss')));
moment().format('YYYY-MM-DD HH:mm:ss'),
zonename
));

await db.updateSession(sessionId, {
actors: sessionActors,
Expand Down

0 comments on commit 60ade6a

Please sign in to comment.