update README

This commit is contained in:
bacardi55 2021-06-08 00:28:33 +02:00
parent f5dec098fb
commit a2612e8903

View File

@ -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.
`<Date>` format: 2 possible format for the date:
`<Date>` format: 3 possible formats for the date:
```
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.
example:
@ -43,10 +50,23 @@ example:
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).
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.
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).
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