Browse Source

* provided additional information in comments in the include file header

git-svn-id: trunk@47547 -
Tomas Hajny 4 years ago
parent
commit
7169b6d04c
1 changed files with 10 additions and 0 deletions
  1. 10 0
      rtl/objpas/sysutils/tzenv.inc

+ 10 - 0
rtl/objpas/sysutils/tzenv.inc

@@ -6,6 +6,16 @@
     Support routines for calculation of local timezone and DST time
     offset based on information provided in the environment variable TZ.
 
+    There are various ways for specifying the timezone details using the
+    TZ variable. The more information is provided, the better results.
+    As an example, the following setting provides full information
+    including details for DST on/off switching date and time:
+    TZ=CET-1CEST,3,-1,0,7200,10,-1,0,10800,3600
+    (CET timezone is 1 hour in advance from UTC, there is DST called CEST,
+    DST starts on the last Sunday of March at 2am and finishes on the last
+    Sunday of October at 3am, the DST difference is 1 hour).
+    However, this is by no means the only supported syntax.
+
     See the file COPYING.FPC, included in this distribution,
     for details about the copyright.