locale.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 16 Jan 2020 13:42:03 +0200
changeset 2403 f5347f511cb3
parent 1912 8b81a8f0f692
permissions -rw-r--r--
To search for string in commit messages.

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