lsd-rs / lsd

The next gen ls command
Apache License 2.0
13.16k stars 429 forks source link

Date doesn't seem to be localized #876

Closed AxelTerizaki closed 7 months ago

AxelTerizaki commented 1 year ago

Expected behavior

lsd should display dates int he user's locale

Actual behavior

When listing files with lsd -l I get dates in English whereas my user's lang is set to fr_FR.UTF-8

Note

This might be a duplicate of #327 but I'm not sure.

I tried both with the default settings and by specifying a date format like this in config :

date: '+%d %b %y %X'

Is there something I'm missing or is there a bug ?

Thanks in advance for looking into this !

zica87 commented 7 months ago
lsd -l --date=locale

I just created a PR(#985) documenting this

zwpaper commented 7 months ago

thanks so much, @zica87 for the PR

now we can close this

/close

muniu-bot[bot] commented 7 months ago

@zwpaper: Closing this issue.

In response to [this](https://github.com/lsd-rs/lsd/issues/876#issuecomment-1941631112): >thanks so much, @zica87 for the PR > >now we can close this > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.