File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -205,15 +205,16 @@ get_notifs() {
205
205
def colored(text; color):
206
206
colors[color] + text + colors.reset;
207
207
.[] | {
208
+ # The "if" needs to be wrapped in parentheses, otherwise it will fail on some OSs
208
209
updated_short:
209
210
# for some reason ".updated_at" can be null
210
- if .updated_at then
211
+ ( if .updated_at then
211
212
.updated_at | fromdateiso8601 | strftime("%Y-%m")
212
213
else
213
214
# Github Discussion launched in 2020
214
215
# https://resources.github.com/devops/process/planning/discussions/
215
216
"2020"
216
- end,
217
+ end) ,
217
218
# UTC time ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
218
219
# https://docs.github.com/en/rest/overview/resources-in-the-rest-api#timezones
219
220
iso8601: now | strftime("%Y-%m-%dT%H:%M:%SZ"),
You can’t perform that action at this time.
0 commit comments