Re: [Bacula-users] Bconsole format dates
I've already knew that was possible to set environment variables defaults, but the way that I used, doesn't worked. I had to use "locale -a" to discovery what locales I have installed: root@bacula:/tmp# locale -a C C.UTF-8 POSIX pt_BR.utf8 And insert the line in the beggining /etc/init.d/bacula-dir export LC_ALL=C.UTF-8 Thanks Ana and Jarif -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bconsole format dates
Hélio Wanderley, Which graphical interface are you talking about? IMHO they should be able to "convert" the date/time from catalog in whatever format it is to accomplish your needs. Best regards, Ana Em sex, 16 de out de 2015 às 01:55, Jari Fredrikssonescreveu: > On 16.10.2015 1:45, Wanderlei Huttel wrote: > > I'm running bacula 7.2.0 in Debian 8.1 with portuguese brazilian (pt_BR) > UTF8 encode; > > Per example bconsole "status dir" list a month as short month (3 digits) > and "status schedule days=1" list month and week day short (3 digits) > > Is there a way to compile bacula to show dates as en_US by default? > > I'm trying to get schedule values for a graphic user interface, but If I > want to use for more languages I can have problems. > And on schedule should have the year. > > > > Thanks Wanderlei > > > > I think you could try and set the LANG=en_UF@utf-8 in > /etc/init.d/bacula-dir or whatever starts that. > > -- > jarif.bit > > > -- > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bconsole format dates
I'm running bacula 7.2.0 in Debian 8.1 with portuguese brazilian (pt_BR) UTF8 encode; Per example bconsole "status dir" list a month as short month (3 digits) and "status schedule days=1" list month and week day short (3 digits) Is there a way to compile bacula to show dates as en_US by default? I'm trying to get schedule values for a graphic user interface, but If I want to use for more languages I can have problems. And on schedule should have the year. *status dir Scheduled Jobs: Level Type Pri Scheduled Job Name Volume === Differential Backup10 15-*Out*-15 21:30Backup_Servidor_Intranet Volume-Diario-0013 Differential Backup10 15-*Out*-15 21:30Backup_Servidor_Firewall Volume-Diario-0013 Differential Backup98 15-*Out*-15 21:30Backup_Servidor_Bacula Volume-Diario-0013 Differential Backup99 15-*Out*-15 21:30Backup_Catalogo Volume-Diario-0013 *status schedule days=1 Scheduled Jobs: Level Type Pri Scheduled Job Name Schedule = Differential Backup10 *Qui* 15-*Out* 21:30 Backup_Servidor_Intranet Agenda_GFS_Noite Differential Backup10 *Qui* 15-*Out* 21:30 Backup_Servidor_Firewall Agenda_GFS_Noite Differential Backup98 *Qui* 15-*Out* 21:30 Backup_Servidor_Bacula Agenda_GFS_Noite Differential Backup99 *Qui* 15-*Out* 21:30 Backup_Catalogo Agenda_GFS_Noite Thanks Wanderlei -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bconsole format dates
On 16.10.2015 1:45, Wanderlei Huttel wrote: > I'm running bacula 7.2.0 in Debian 8.1 with portuguese brazilian (pt_BR) UTF8 encode; > > Per example bconsole "status dir" list a month as short month (3 digits) and "status schedule days=1" list month and week day short (3 digits) > > Is there a way to compile bacula to show dates as en_US by default? > > I'm trying to get schedule values for a graphic user interface, but If I want to use for more languages I can have problems. > And on schedule should have the year. > > Thanks Wanderlei I think you could try and set the LANG=en_UF@utf-8 in /etc/init.d/bacula-dir or whatever starts that. -- jarif.bit -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users