locale.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 10 Feb 2018 01:36:16 +0200
changeset 2229 1a0b6597e594
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Mark block quot in HTMLe.

.. -*- coding: utf-8; -*-

========
 Locale
========
.. contents::
   :local:

List locale settings?
=====================

Current locale::

  $ locale

List all available locales::

  $ locale -a

How set date to ISO format?
===========================

Usually this be done trough en_DK locale.

You need setup, for example, ``LC_TIME=en_DK.utf8`` at shell init.

Install all available locale in Debian::

  $ sudo apt-get install locales-all

Generate locales in Debian::

  $ sudo dpkg-reconfigure locales