Skip to content

add string format to 0.9 expressions/client functions #451

@wrenj

Description

@wrenj

This could be a good demonstration of cross platform client formatting

Gemini recommended using unicode messageformat
https://unicode-org.github.io/icu/userguide/format_parse/messages/

eg

{
  "function_name": "format_string",
  "args": {
    "params": {
      "name": "John",
      "expiresOn": "2023-03-27T19:42:51.000Z"
    },
    "template": "{Hello {$name}, your card expires on {$expiresOn :datetime skeleton=yMMMdE}!}"
  }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions