From de053f67648085980e299ad8a01703a88a3a962b Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Fri, 14 Oct 2022 14:24:51 +1100 Subject: [PATCH] Fixed broken link --- operators/datetime.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/operators/datetime.md b/operators/datetime.md index f97a37ea..36048e82 100644 --- a/operators/datetime.md +++ b/operators/datetime.md @@ -13,11 +13,11 @@ To specify a custom parsing format, use the `with_dtf` operator. The first param yq 'with_dtf("myformat"; .a + "3h" | tz("Australia/Melbourne"))' ``` -See https://pkg.go.dev/time#pkg-constants for examples of formatting options. +See the [library docs](https://pkg.go.dev/time#pkg-constants) for examples of formatting options. ## Timezones -This uses golangs built in LoadLocation function to parse timezones strings. See https://pkg.go.dev/time#LoadLocation for more details. +This uses golangs built in LoadLocation function to parse timezones strings. See the [library docs](https://pkg.go.dev/time#LoadLocation) for more details. ## Durations @@ -156,7 +156,7 @@ a: 2021-01-01T03:10:00Z ``` ## Date subtraction -You can subtract durations from dates. Assumes RFC3339 date time format, see [date-time operators](https://mikefarah.gitbook.io/yq/operators/date-time-operators) for more information. +You can subtract durations from dates. Assumes RFC3339 date time format, see [date-time operators](https://mikefarah.gitbook.io/yq/operators/datetime#date-time-formattings) for more information. Given a sample.yml file of: ```yaml