From aa77a8d08432a5bc317c90e83a677a8c4e551f0c Mon Sep 17 00:00:00 2001 From: Noopur <41565380+naman1303@users.noreply.github.com> Date: Sun, 10 Oct 2021 11:30:04 +0530 Subject: [PATCH 1/3] Update README.md Modified the statements, also changed 2016 to 2020. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a716f15..4b0c65e 100644 --- a/README.md +++ b/README.md @@ -47,17 +47,17 @@ import ( ) func main() { - fmt.Printf("Right now is %s\n", carbon.Now().DateTimeString()) + fmt.Printf("Right now, time is %s\n", carbon.Now().DateTimeString()) today, _ := carbon.NowInLocation("America/Vancouver") - fmt.Printf("Right now in Vancouver is %s\n", today) + fmt.Printf("Current time in Vancouver is %s\n", today) fmt.Printf("Tomorrow is %s\n", carbon.Now().AddDay()) - fmt.Printf("Last week is %s\n", carbon.Now().SubWeek()) + fmt.Printf("Last week was %s\n", carbon.Now().SubWeek()) - nextOlympics, _ := carbon.CreateFromDate(2016, time.August, 5, "Europe/London") + nextOlympics, _ := carbon.CreateFromDate(2020, time.August, 5, "Europe/London") nextOlympics = nextOlympics.AddYears(4) - fmt.Printf("Next olympics are in %d\n", nextOlympics.Year()) + fmt.Printf("Next Olympics to be held in %d\n", nextOlympics.Year()) if carbon.Now().IsWeekend() { fmt.Printf("Party time!") From 7ad5da207b33615f0dc68e6dae4170fef4340ec2 Mon Sep 17 00:00:00 2001 From: Noopur <41565380+naman1303@users.noreply.github.com> Date: Sun, 10 Oct 2021 11:33:58 +0530 Subject: [PATCH 2/3] Revert "Update README.md" --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4b0c65e..a716f15 100644 --- a/README.md +++ b/README.md @@ -47,17 +47,17 @@ import ( ) func main() { - fmt.Printf("Right now, time is %s\n", carbon.Now().DateTimeString()) + fmt.Printf("Right now is %s\n", carbon.Now().DateTimeString()) today, _ := carbon.NowInLocation("America/Vancouver") - fmt.Printf("Current time in Vancouver is %s\n", today) + fmt.Printf("Right now in Vancouver is %s\n", today) fmt.Printf("Tomorrow is %s\n", carbon.Now().AddDay()) - fmt.Printf("Last week was %s\n", carbon.Now().SubWeek()) + fmt.Printf("Last week is %s\n", carbon.Now().SubWeek()) - nextOlympics, _ := carbon.CreateFromDate(2020, time.August, 5, "Europe/London") + nextOlympics, _ := carbon.CreateFromDate(2016, time.August, 5, "Europe/London") nextOlympics = nextOlympics.AddYears(4) - fmt.Printf("Next Olympics to be held in %d\n", nextOlympics.Year()) + fmt.Printf("Next olympics are in %d\n", nextOlympics.Year()) if carbon.Now().IsWeekend() { fmt.Printf("Party time!") From 340e5dd17068e6173c672a6347a1959235290d1a Mon Sep 17 00:00:00 2001 From: Noopur <41565380+naman1303@users.noreply.github.com> Date: Sun, 10 Oct 2021 11:36:46 +0530 Subject: [PATCH 3/3] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a716f15..4b0c65e 100644 --- a/README.md +++ b/README.md @@ -47,17 +47,17 @@ import ( ) func main() { - fmt.Printf("Right now is %s\n", carbon.Now().DateTimeString()) + fmt.Printf("Right now, time is %s\n", carbon.Now().DateTimeString()) today, _ := carbon.NowInLocation("America/Vancouver") - fmt.Printf("Right now in Vancouver is %s\n", today) + fmt.Printf("Current time in Vancouver is %s\n", today) fmt.Printf("Tomorrow is %s\n", carbon.Now().AddDay()) - fmt.Printf("Last week is %s\n", carbon.Now().SubWeek()) + fmt.Printf("Last week was %s\n", carbon.Now().SubWeek()) - nextOlympics, _ := carbon.CreateFromDate(2016, time.August, 5, "Europe/London") + nextOlympics, _ := carbon.CreateFromDate(2020, time.August, 5, "Europe/London") nextOlympics = nextOlympics.AddYears(4) - fmt.Printf("Next olympics are in %d\n", nextOlympics.Year()) + fmt.Printf("Next Olympics to be held in %d\n", nextOlympics.Year()) if carbon.Now().IsWeekend() { fmt.Printf("Party time!")