Skip to content

Commit

Permalink
updated dot constants (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbentarikau authored Feb 26, 2020
1 parent d9ef66f commit 2ae3515
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/templates/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ func (c *Context) setupBaseData() {
c.Data["TimeSecond"] = time.Second
c.Data["TimeMinute"] = time.Minute
c.Data["TimeHour"] = time.Hour
c.Data["UnixEpoch"] = time.Date(1970, 1, 1, 0, 0, 0, 0, time.UTC)
c.Data["DiscordEpoch"] = time.Date(2015, 1, 1, 0, 0, 0, 0, time.UTC)
c.Data["IsPremium"] = c.IsPremium
}

Expand Down

0 comments on commit 2ae3515

Please sign in to comment.