forked from Sarah/Lieb-Website
added copy template function
This commit is contained in:
parent
1ac6cc64a6
commit
83f9b2d0b8
4 changed files with 41 additions and 4 deletions
|
@ -18,7 +18,7 @@ namespace Lieb.Models.GuildWars2.Raid
|
|||
|
||||
public Raid() { }
|
||||
|
||||
public Raid(RaidTemplate template) : base(template, template.TimeZone)
|
||||
public Raid(RaidTemplate template) : base(template, template.TimeZone, true)
|
||||
{
|
||||
TimeZoneInfo timeZone = TimeZoneInfo.FindSystemTimeZoneById(template.TimeZone);
|
||||
StartTimeUTC = TimeZoneInfo.ConvertTimeToUtc(template.StartTime, timeZone);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue