mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-01 22:31:12 +08:00
Fixed sorting by date #1412
This commit is contained in:
@@ -25,7 +25,7 @@ var dateTimeOperatorScenarios = []expressionScenario{
|
||||
},
|
||||
{
|
||||
description: "Format: get the day of the week",
|
||||
document: `a: 2001-12-15T02:59:43.1Z`,
|
||||
document: `a: 2001-12-15`,
|
||||
expression: `.a | format_datetime("Monday")`,
|
||||
expected: []string{
|
||||
"D0, P[a], (!!str)::Saturday\n",
|
||||
|
||||
Reference in New Issue
Block a user