1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vlib/time: format table for custom_format() (#17428)

* vlib/time: format table for `custom_format()`

* small fix

* small fix
This commit is contained in:
Petr Makhnev 2023-02-27 23:48:05 +04:00 committed by GitHub
parent 607649b44d
commit 864e1994b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ const (
// custom_format returns a date with custom format
//
// | | Token | Output |
// | ----------: | :------ | :--------- |
// |-----------------:|:------|:---------------------------------------|
// | **Month** | M | 1 2 ... 11 12 |
// | | Mo | 1st 2nd ... 11th 12th |
// | | MM | 01 02 ... 11 12 |