1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

update examples

This commit is contained in:
Kelly Brazil
2021-03-23 14:59:03 -07:00
parent 1e8e553316
commit 2b38462de7
3 changed files with 33 additions and 27 deletions

View File

@ -466,16 +466,18 @@ date | jc --date -p # or: jc -p date
{ {
"year": 2021, "year": 2021,
"month_num": 3, "month_num": 3,
"day": 22, "day": 23,
"hour": 20, "hour": 8,
"minute": 54, "hour_24": 20,
"second": 39, "minute": 45,
"period": null, "second": 29,
"period": "PM",
"month": "Mar", "month": "Mar",
"weekday": "Mon", "weekday": "Tue",
"weekday_num": 1, "weekday_num": 2,
"timezone": "PDT", "timezone": "UTC",
"epoch": 1616471679 "epoch": 1616557529,
"epoch_utc": 1616532329
} }
``` ```
### df ### df

View File

@ -30,16 +30,17 @@ Examples:
"year": 2021, "year": 2021,
"month_num": 3, "month_num": 3,
"day": 23, "day": 23,
"hour": 17, "hour": 8,
"minute": 41, "hour_24": 20,
"second": 44, "minute": 45,
"period": null, "second": 29,
"period": "PM",
"month": "Mar", "month": "Mar",
"weekday": "Tue", "weekday": "Tue",
"weekday_num": 2, "weekday_num": 2,
"timezone": "UTC", "timezone": "UTC",
"epoch": 1616546504, "epoch": 1616557529,
"epoch_utc": 1616571704 "epoch_utc": 1616532329
} }
$ date | jc --date -p -r $ date | jc --date -p -r
@ -48,9 +49,10 @@ Examples:
"month": "Mar", "month": "Mar",
"day": "23", "day": "23",
"weekday": "Tue", "weekday": "Tue",
"hour": "17", "hour": "08",
"minute": "41", "minute": "45",
"second": "44", "second": "29",
"period": "PM",
"timezone": "UTC" "timezone": "UTC"
} }

View File

@ -28,16 +28,17 @@ Examples:
"year": 2021, "year": 2021,
"month_num": 3, "month_num": 3,
"day": 23, "day": 23,
"hour": 17, "hour": 8,
"minute": 41, "hour_24": 20,
"second": 44, "minute": 45,
"period": null, "second": 29,
"period": "PM",
"month": "Mar", "month": "Mar",
"weekday": "Tue", "weekday": "Tue",
"weekday_num": 2, "weekday_num": 2,
"timezone": "UTC", "timezone": "UTC",
"epoch": 1616546504, "epoch": 1616557529,
"epoch_utc": 1616571704 "epoch_utc": 1616532329
} }
$ date | jc --date -p -r $ date | jc --date -p -r
@ -46,9 +47,10 @@ Examples:
"month": "Mar", "month": "Mar",
"day": "23", "day": "23",
"weekday": "Tue", "weekday": "Tue",
"hour": "17", "hour": "08",
"minute": "41", "minute": "45",
"second": "44", "second": "29",
"period": "PM",
"timezone": "UTC" "timezone": "UTC"
} }
""" """