diff --git a/README.md b/README.md index b3f5ea1..f786961 100644 --- a/README.md +++ b/README.md @@ -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)