|
How to customize the time zone and time display Supported formats MyGenesis! uses two time formats, the integer-based, computer-readable "epoch time" and the human-readable ISO 8601 time display. The integer time is the number of seconds since 1970. It is a monotonically increasing integer that does not vary with Daylight Saving Time or time zone. It is the Unix and Perl native time format, and is inter-operable with the Javascript native time format. MyGenesis! uses this integer time for all time calculations (such as calculating login session duration or for sorting files by last-modified time). The ISO 8601 standard display is a 19-character string of "Year-Month-Day Hour:Minute:Second". This is the only human-readable time format supported by MyGenesis!. For example, integer time 1047075651 matches ISO time 2003-03-07 22:20:51. Customizing human-readable display Only the ISO 8601 display is supported. This format has the advantages of being standardized, being Y2K-compliant, being purely numeric (thus no need to translate), and of fixed width so that it always fits in display tables as intended. If the human-readable display must be changed, you can edit subroutine Customizing time zone Limited customization of time zone is supported in MyGenesis! 2.1.0.0029 and newer. To change the time zone:
For reverse compatibility, the default time zone setting is "Local time, from web server". Those three options are the only supported options within the web-based admin. The webmaster can also directly edit Note that for browser-based local time, clients who select this option but who have Javascript disabled in their browsers will see the "local time, from web server" instead. Note also that time zone information is only used for presenting time strings. It has no bearing on the actual mechanics of the program (which use the native integer time). Changing time zone information will not cause login sessions to timeout or extend, and will not effect the server timestamps of edited files, etc. |