Skip to content

Commit

Permalink
Updated carbon to use new version 2.5.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Lanzarotta committed Dec 9, 2024
1 parent 614810d commit 3b3337f
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmd/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"github.com/agrison/go-commons-lang/stringUtils"
"github.com/fatih/color"
"github.com/golang-module/carbon/v2"
"github.com/dromara/carbon/v2"
"github.com/ijt/go-anytime"
"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion cmd/amend.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"strings"

"github.com/fatih/color"
"github.com/golang-module/carbon/v2"
"github.com/dromara/carbon/v2"
"github.com/jedib0t/go-pretty/v6/table"

"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/break.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

"github.com/agrison/go-commons-lang/stringUtils"
"github.com/fatih/color"
"github.com/golang-module/carbon/v2"
"github.com/dromara/carbon/v2"
"github.com/ijt/go-anytime"
"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion cmd/hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/agrison/go-commons-lang/stringUtils"
"github.com/fatih/color"
"github.com/golang-module/carbon/v2"
"github.com/dromara/carbon/v2"
"github.com/ijt/go-anytime"
"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion cmd/nuke.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"khronos/internal/database"

"github.com/fatih/color"
"github.com/golang-module/carbon/v2"
"github.com/dromara/carbon/v2"
"github.com/inancgumus/screen"
"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion cmd/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

"github.com/agrison/go-commons-lang/stringUtils"
"github.com/fatih/color"
"github.com/golang-module/carbon/v2"
"github.com/dromara/carbon/v2"
"github.com/jedib0t/go-pretty/v6/table"
"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion cmd/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"khronos/constants"

"github.com/fatih/color"
"github.com/golang-module/carbon/v2"
"github.com/dromara/carbon/v2"
"github.com/jedib0t/go-pretty/v6/table"
"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion cmd/stretch.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/agrison/go-commons-lang/stringUtils"
"github.com/fatih/color"
"github.com/golang-module/carbon/v2"
"github.com/dromara/carbon/v2"
"github.com/ijt/go-anytime"
"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22.2

require (
github.com/agrison/go-commons-lang v0.0.0-20240106075236-2e001e6401ef
github.com/golang-module/carbon/v2 v2.4.1
github.com/dromara/carbon/v2 v2.5.2
github.com/ijt/go-anytime v1.9.2
github.com/mattn/go-sqlite3 v1.14.24
golang.org/x/term v0.27.0
Expand All @@ -26,7 +26,7 @@ require (
github.com/inancgumus/screen v0.0.0-20190314163918-06e984b86ed3
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jedib0t/go-pretty/v6 v6.6.3
github.com/magiconair/properties v1.8.7 // indirect
github.com/magiconair/properties v1.8.9 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dromara/carbon/v2 v2.5.2 h1:GquNyA9Imda+LwS9FIzHhKg+foU2QPstH+S3idBRjKg=
github.com/dromara/carbon/v2 v2.5.2/go.mod h1:zyPlND2o27sKKkRmdgLbk/qYxkmmH6Z4eE8OoM0w3DM=
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
Expand Down Expand Up @@ -32,6 +34,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY=
github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0=
github.com/magiconair/properties v1.8.9 h1:nWcCbLq1N2v/cpNsy5WvQ37Fb+YElfq20WJ/a8RkpQM=
github.com/magiconair/properties v1.8.9/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
Expand Down
2 changes: 1 addition & 1 deletion internal/database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"khronos/internal/models"

"github.com/fatih/color"
"github.com/golang-module/carbon/v2"
"github.com/dromara/carbon/v2"
_ "github.com/mattn/go-sqlite3"
"github.com/spf13/viper"
)
Expand Down

0 comments on commit 3b3337f

Please sign in to comment.