[dbadmin@dbtest ~]$ locale LANG=es_AR.UTF-8 LC_CTYPE="es_AR.UTF-8" LC_NUMERIC="es_AR.UTF-8" LC_TIME="es_AR.UTF-8" LC_COLLATE="es_AR.UTF-8" LC_MONETARY="es_AR.UTF-8" LC_MESSAGES="es_AR.UTF-8" LC_PAPER="es_AR.UTF-8" LC_NAME="es_AR.UTF-8" LC_ADDRESS="es_AR.UTF-8" LC_TELEPHONE="es_AR.UTF-8" LC_MEASUREMENT="es_AR.UTF-8" LC_IDENTIFICATION="es_AR.UTF-8" LC_ALL=es_AR.UTF-8 [dbadmin@dbtest ~]$ date +"%A %B" miércoles enero [dbadmin@dbtest ~]$ vsql DW -c "SET LOCALE TO 'es_AR.utf-8'; select to_char('2015-01-07'::date, 'TMDay TMMonth');" INFO 2567: Canonical locale: 'es_AR' Standard collation: 'LES' Spanish (Argentina) español (Argentina) to_char ------------------- Wednesday January (1 row)
localized names of date do not work
the command date taking properly the locale, but vsql not. Version 7.1
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.