fix(temporal): removing redundant information
This commit is contained in:
parent
8da6067bcc
commit
3898396afe
2 changed files with 2 additions and 5 deletions
|
@ -59,9 +59,6 @@ public class DatePipelineCommandOption : IPipelineCommandOption
|
|||
ZonedDateTime dateTime = now.InZone(this.timekeeper.DateTimeZone);
|
||||
string formatted = dateTime.ToString("G", CultureInfo.InvariantCulture);
|
||||
|
||||
this.logger.Information(
|
||||
"Setting date/time to {When:l} in time zone {Zone:l}",
|
||||
formatted,
|
||||
this.timekeeper.DateTimeZone);
|
||||
this.logger.Information("Setting date/time to {When:l}", formatted);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ public static class NitrideTemporalBuilderExtensions
|
|||
Timekeeper timekeeper = scope.Resolve<Timekeeper>();
|
||||
|
||||
timekeeper.DateTimeZone = config.DateTimeZone;
|
||||
logger.Information("Setting time zone to {Zone}", timekeeper.DateTimeZone);
|
||||
logger.Verbose("Setting time zone to {Zone:l}", timekeeper.DateTimeZone);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue