Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
Fix/update dependency (#72)
Browse files Browse the repository at this point in the history
* chore: Add .env to gitignore

* feat: Update "now" dependency
  • Loading branch information
Thiht authored Jul 5, 2018
1 parent 7d92622 commit a40019c
Show file tree
Hide file tree
Showing 8 changed files with 210 additions and 103 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
api/bin
api/api
/api/tests_results.xml
.env
2 changes: 1 addition & 1 deletion message.go
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ func (m *Message) ContainsTag(tag string) bool {

func GetDateRef(pattern string) (time.Time, error) {
var dateRef time.Time
now.FirstDayMonday = true
now.WeekStartDay = time.Monday
switch pattern {
case "BeginningOfMinute":
return now.BeginningOfMinute(), nil
Expand Down
21 changes: 21 additions & 0 deletions vendor/github.com/jinzhu/now/License

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

98 changes: 52 additions & 46 deletions vendor/github.com/jinzhu/now/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 37 additions & 2 deletions vendor/github.com/jinzhu/now/main.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a40019c

Please sign in to comment.