Skip to content

Commit

Permalink
chore: Update examples for utc time fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marr committed Mar 20, 2023
1 parent 288dc91 commit 0bb354d
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
Binary file modified examples/compiled/time_output_utc_timeunit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/time_output_utc_timeunit.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/time_output_utc_timeunit.vg.json
Expand Up @@ -46,7 +46,7 @@
"update": {
"stroke": {"value": "#4c78a8"},
"description": {
"signal": "\"date (year-month-date-hours-minutes): \" + (timeFormat(datum[\"utcyearmonthdatehoursminutes_date\"], timeUnitSpecifier([\"year\",\"month\",\"date\",\"hours\",\"minutes\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; price: \" + (format(datum[\"price\"], \"\"))"
"signal": "\"date (year-month-date-hours-minutes): \" + (utcFormat(datum[\"utcyearmonthdatehoursminutes_date\"], timeUnitSpecifier([\"year\",\"month\",\"date\",\"hours\",\"minutes\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"}))) + \"; price: \" + (format(datum[\"price\"], \"\"))"
},
"x": {"scale": "x", "field": "utcyearmonthdatehoursminutes_date"},
"y": {"scale": "y", "field": "price"},
Expand Down
Binary file modified examples/compiled/time_parse_utc.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/time_parse_utc.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/time_parse_utc.vg.json
Expand Up @@ -45,7 +45,7 @@
"stroke": {"value": "#4c78a8"},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"time: \" + (timeFormat(datum[\"utchours_date\"], timeUnitSpecifier([\"hours\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"})))"
"signal": "\"time: \" + (utcFormat(datum[\"utchours_date\"], timeUnitSpecifier([\"hours\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"})))"
},
"x": {"signal": "width", "mult": 0.5},
"y": {"scale": "y", "field": "utchours_date"}
Expand Down

0 comments on commit 0bb354d

Please sign in to comment.