Skip to content

Commit

Permalink
chore: Update tool definitions command output
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Jan 31, 2024
1 parent 4b5614b commit b7d2fda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public ToolDefinitionsOutputDescriptor(String name, ToolDefinitionsStateDescript
public ToolDefinitionsOutputDescriptor(String name, String source, Date lastUpdate) {
this.name = name;
this.source = getFormattedString(source);
this.lastUpdate = lastUpdate==null ? null : new SimpleDateFormat("yyyy-MM-dd HH:mm:ss z").format(lastUpdate);
this.lastUpdate = lastUpdate==null ? null : new SimpleDateFormat("yyyy-MM-dd HH:mm").format(lastUpdate);
}

private static final String getFormattedString(String str) {
Expand Down

0 comments on commit b7d2fda

Please sign in to comment.