locale.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 27 Oct 2018 22:36:35 +0300
changeset 2281 fdaa046f19ba
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Setting the heap size.

.. -*- 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