We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14ad9db commit fc27b14Copy full SHA for fc27b14
1 file changed
configtype/time.go
@@ -86,6 +86,19 @@ func (Time) JSONSchema() *jsonschema.Schema {
86
Type: "string",
87
Pattern: timePattern,
88
Title: "CloudQuery configtype.Time",
89
+ Description: "Allows for defining timestamps in both absolute(RFC3339) and relative formats. " +
90
+ "Absolute timestamp example: `2024-01-01T12:00:00+00:00`.\n" +
91
+ "Relative timestamps can take this format:\n" +
92
+ "- `now`\n" +
93
+ "- `x seconds [ago|from now]`\n" +
94
+ "- `x minutes [ago|from now]`\n" +
95
+ "- `x hours [ago|from now]`\n" +
96
+ "- `x days [ago|from now]`\n" +
97
+ "`until` field usage:\n" +
98
+ "- `until: now`\n" +
99
+ "- `until: 2 days ago`\n" +
100
+ "- `until: 10 months 3 days 4h20m from now`\n" +
101
+ "- `until: 2024-01-01T12:00:00+00:00`",
102
}
103
104
0 commit comments