update README
This commit is contained in:
parent
f5dec098fb
commit
a2612e8903
34
README.md
34
README.md
@ -32,9 +32,16 @@ It starts with a second level header (`##`), followed by a space and then `<date
|
|||||||
|
|
||||||
`<Entry Title>` format: Any text without new line.
|
`<Entry Title>` format: Any text without new line.
|
||||||
|
|
||||||
`<Date>` format: 2 possible format for the date:
|
`<Date>` format: 3 possible formats for the date:
|
||||||
|
|
||||||
|
```
|
||||||
YYYY-MM-DD h:m[:s] TZ
|
YYYY-MM-DD h:m[:s] TZ
|
||||||
|
Weekday DD Month YYYY h:m[:s] TZ # format 1-24 for hours
|
||||||
|
Weekday DD Month YYYY h:m[:s] AM TZ # format 1-12 am/pm for hours
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
**YYYY-MM-DD h:m[:s] TZ**
|
||||||
Seconds are optional.
|
Seconds are optional.
|
||||||
|
|
||||||
example:
|
example:
|
||||||
@ -43,10 +50,23 @@ example:
|
|||||||
2006-01-02 15:04 MST
|
2006-01-02 15:04 MST
|
||||||
```
|
```
|
||||||
|
|
||||||
or:
|
|
||||||
Weekday DD Month YYYY h:m[:s] TZ
|
**Weekday DD Month YYYY h:m[:s] TZ**
|
||||||
Weekday should be in 3 letters format (eg: Mon for Monday).
|
Weekday should be in 3 letters format (eg: Mon for Monday).
|
||||||
Month should be in 3 letters format (eg: Jan for January).
|
Month should be in 3 letters format (eg: Jan for January).
|
||||||
|
Hours should be in 1-24 format.
|
||||||
|
Seconds are optional.
|
||||||
|
|
||||||
|
example:
|
||||||
|
```
|
||||||
|
Mon 02 Jan 2006 15:04:05 MST
|
||||||
|
Mon 02 Jan 2006 15:04 MST
|
||||||
|
```
|
||||||
|
|
||||||
|
**Weekday DD Month YYYY h:m[:s] am TZ**
|
||||||
|
Weekday should be in 3 letters format (eg: Mon for Monday).
|
||||||
|
Month should be in 3 letters format (eg: Jan for January).
|
||||||
|
Hours should be in 1-12 format.
|
||||||
Seconds are optional.
|
Seconds are optional.
|
||||||
|
|
||||||
example:
|
example:
|
||||||
@ -59,6 +79,14 @@ Mon 02 Jan 2006 03:04 PM MST
|
|||||||
|
|
||||||
Each entry must be separated with 2 new lines (ie paragraph break).
|
Each entry must be separated with 2 new lines (ie paragraph break).
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```
|
||||||
|
## Mon 07 Jun 2021 10:44:26 PM CEST
|
||||||
|
A small thought to share.
|
||||||
|
|
||||||
|
## Sun 06 Jun 2021 11:44:26 AM CEST
|
||||||
|
A first tinylog entry
|
||||||
|
```
|
||||||
|
|
||||||
### Optional information
|
### Optional information
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user