Fixed broken link

This commit is contained in:
Mike Farah 2022-10-14 14:24:51 +11:00
parent 2db47ec2f2
commit de053f6764

View File

@ -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"))' 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 ## 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 ## Durations
@ -156,7 +156,7 @@ a: 2021-01-01T03:10:00Z
``` ```
## Date subtraction ## 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: Given a sample.yml file of:
```yaml ```yaml