kisscommunity

kisscommunity.bvnf.space site sources
git clone git://bvnf.space/home/kiss/kisscommunity.git
Log | Files | Refs | Submodules | README | LICENSE

index.txt (3268B)


      1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
TZDATA [0]
________________________________________________________________________________

The Time Zone Database (called tz, tzdb or zoneinfo) contains code and data that
represent the history of local time for many representative locations around the 
globe.  


Configuration
________________________________________________________________________________

Begin by first verifying that you have tzdata installed:

+------------------------------------------------------------------------------+
|                                                                              |
|   $ kiss b tzdata && kiss i tzdata                                           |
|                                                                              |
+------------------------------------------------------------------------------+

Look for the available timezones in /usr/share/zoneinfo/:

+------------------------------------------------------------------------------+
|                                                                              |
|   $ ls /usr/share/zoneinfo                                                   |
|                                                                              |
+------------------------------------------------------------------------------+

Write your preferred timezone to the /etc/timezone file:

+------------------------------------------------------------------------------+
|                                                                              |
|   $ echo "TZ" > /etc/timezone                                                |
|                                                                              |
+------------------------------------------------------------------------------+

Remember to replace TZ with with your preferred timezone. For example, if I 
lived in the US Eastern timezone, I would replace TZ with "US/Eastern".

Lastly, copy the preferred timezone file to /etc/localtime:

+------------------------------------------------------------------------------+
|                                                                              |
|   $ cp TZ_PATH /etc/localtime                                                |
|                                                                              |
+------------------------------------------------------------------------------+

Remember to replace TZ_PATH with with the complete timezone path. For the 
example given above, the complete TZ_PATH for "US/Eastern" would be 
"/usr/share/zoneinfo/US/Eastern".

As an optional final step, remove the tzdata package.

+------------------------------------------------------------------------------+
|                                                                              |
|   $ kiss r tzdata                                                            |
|                                                                              |
+------------------------------------------------------------------------------+


References
________________________________________________________________________________

[0] https://github.com/eggert/tz
[1] https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#Timezone
[2] https://wiki.archlinux.org/index.php/System_time