Change timezone

Check current settings using timedatectl command:

timedatectl

Output:

vnuk@vnuk-server:~$ timedatectl
               Local time: Fri 2022-01-28 01:34:49 UTC
           Universal time: Fri 2022-01-28 01:34:49 UTC
                 RTC time: Fri 2022-01-28 01:34:49    
                Time zone: Etc/UTC (UTC, +0000)       
System clock synchronized: yes                        
              NTP service: active                     
          RTC in local TZ: no

List all possible timezones with:

timedatectl list-timezones

Also you can grep list like:

timedatectl list-timezones | grep Europe

Change time zone:

sudo timedatectl set-timezone Europe/Moscow

Fix problem with languages and encoding

➜  ~ psql
                                               
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_IDENTIFICATION = "ru_RU.UTF-8",
	LC_MEASUREMENT = "ru_RU.UTF-8",
	LC_NUMERIC = "ru_RU.UTF-8",
	LC_TIME = "ru_RU.UTF-8",
	LC_PAPER = "ru_RU.UTF-8",
	LC_MONETARY = "ru_RU.UTF-8",
	LC_TELEPHONE = "ru_RU.UTF-8",
	LC_NAME = "ru_RU.UTF-8",
	LC_ADDRESS = "ru_RU.UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

In order to fix this reconfigure locales with

dpkg-reconfigure locales

And tick needed languages respectively:

en_US.UTF-8
ru_RU.UTF-8