[Users] Date column misinterprets the date format

Andrej Kacian ticho at claws-mail.org
Sun Jan 21 13:15:30 CET 2018

On Sun, 21 Jan 2018 14:39:33 +0300
Denis <den_ml at posteo.de> wrote:

> On Sun, 21 Jan 2018 12:18:15 +0100
> Andrej Kacian <ticho at claws-mail.org> wrote:
> > On Sun, 21 Jan 2018 13:26:41 +0300
> > Denis <den_ml at posteo.de> wrote:
> >   
> > > Yes, I compared Claws Mail to "date +%x" command, and my LC_TIME is
> > > set in my .zshrc file since I didn't want to mess with system-wide
> > > settings. So I should set LC_TIME system-wide?
> > > 
> > > Is it only Claws Mail behaviour that it does not read settings
> > > exported from .zshrc (or .bashrc) or is it like this with all GUI
> > > programs?    
> > 
> > Does it display correctly if you launch Claws Mail from a shell which
> > has LC_TIME set, e.g. from an xterm?
> > 
> > Regards,  
> I just checked out, and yes, it does display it correcrtly when launched from my login shell. And since wwp <subscript at free.fr> wrote that this is the same behaviour w/ other apps launched from the desktop
> shortcuts, I'm just going to adjust system-wide settings.
> Thanks for the replies!

This is because your window manager / desktop environment is not
zsh, nor does it use zsh to start itself, and therefore it does not
inherit settings in zsh's resource files.

You need either a wrapper script with zsh as interpreter (as wwp
suggested), or a different way to set up environment variables for your
login session.

If you go with the wrapper, I suggest putting your settings
into .zshenv, since .zshrc is only read for interactive shells.


More information about the Users mailing list