Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jc ls --time-style=+"%F %T" -al -> wrong output #579

Closed
martin-christen opened this issue Jul 8, 2024 · 1 comment
Closed

jc ls --time-style=+"%F %T" -al -> wrong output #579

martin-christen opened this issue Jul 8, 2024 · 1 comment

Comments

@martin-christen
Copy link

if you run jc ls with a time-style the output is wrong
filename is empty
date contains the date and the filename

[
{
"filename": "",
"flags": "-rw-r--r--.",
"links": 1,
"owner": "xcarrier",
"group": "oinstall",
"size": 423,
"date": "2024-07-08 01:37:13 crontab.txt",
"epoch": null,
"epoch_utc": null
}
]

@kellyjonbrazil
Copy link
Owner

Hi there - thanks for your interest in jc! only the full-iso time-style option for ls is supported by the parser.

Options supported:

  • lbaR1
  • --time-style=full-iso

https://github.com/kellyjonbrazil/jc/blob/master/docs/parsers/ls.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants