hapijs / hapijs/joi

Joi extension language compile with param value have colon

Open
#2,483 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
21.2k
Forks
1.5k
Avg merge
4h 57m
Merged PRs (30d)
14

Description

I use:

```
language: {
time: 'must be valid format {{format}}'
},

...

return this.createError('string.time', { value, format: 'HH:mm' }, state, options);
```

Result of message error: `mm`
I expect the result is `must be valid format HH:mm`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.