Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Is Yabar aware Locale? #208

Open
beigna opened this issue May 1, 2019 · 1 comment
Open

Is Yabar aware Locale? #208

beigna opened this issue May 1, 2019 · 1 comment

Comments

@beigna
Copy link

beigna commented May 1, 2019

Hi All, I'm a newbie Yabar's user (and wm too).

I launch bpswm with exec bspwm from .xinitrc and launch yabar from bspwmrc.
I'm using the YABAR_DATE on my bar, but it show the day and month names in english.

I want to see the it as Miércoles 01 Mayo, 19:05 instead of Wednesday 01 May, 19:05.

How can I achieve this?
Thanks!

$ locale
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=es_AR.UTF-8
LC_TIME=es_AR.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=es_AR.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=es_AR.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
$ date '+%A %d %B, %H:%M'
miércoles 01 mayo, 19:28

Yabar date config

ya_date:{
        exec: "YABAR_DATE";
        align: "center";
        fixed-size: 250;
        interval: 2;
        internal-prefix: "🕒 ";
        internal-option1: "%A %d %B, %H:%M";
    }
@melissaboiko
Copy link

Happening to me on v0.4.0-179-ga0d3fdf, locale is ignored for date.

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

No branches or pull requests

2 participants