Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
trstringer committed Oct 1, 2020
1 parent b632fc7 commit 243d0b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func main() {

fmt.Printf("Now is %s\n", now.Format(timeFormat))

adjustedTime, err := systemdtime.AdjustTime(&now, "2d")
adjustedTime, err := systemdtime.AdjustTime(now, "2d")
if err != nil {
fmt.Printf("error adjusting time: %v\n", err)
os.Exit(1)
Expand Down

0 comments on commit 243d0b2

Please sign in to comment.