lang::user::timezone (public)

 lang::user::timezone

Defined in packages/acs-lang/tcl/locale-procs.tcl

Get the user's timezone. Returns the empty string if the user has no timezone set.

Returns:
a timezone name from acs-reference package (e.g., Asia/Tokyo, America/New_York)

Partial Call Graph (max 5 caller/called nodes):
%3 test_set_get_timezone set_get_timezone (test acs-lang) lang::user::timezone lang::user::timezone test_set_get_timezone->lang::user::timezone ad_conn ad_conn (public) lang::user::timezone->ad_conn lang::user::timezone_no_cache lang::user::timezone_no_cache (private) lang::user::timezone->lang::user::timezone_no_cache util_memoize util_memoize (public) lang::user::timezone->util_memoize lang::conn::timezone lang::conn::timezone (public) lang::conn::timezone->lang::user::timezone packages/acs-lang/www/change-locale-include.tcl packages/acs-lang/ www/change-locale-include.tcl packages/acs-lang/www/change-locale-include.tcl->lang::user::timezone packages/acs-subsite/lib/user-info.tcl packages/acs-subsite/ lib/user-info.tcl packages/acs-subsite/lib/user-info.tcl->lang::user::timezone

Testcases:
set_get_timezone
Source code:
    set user_id [ad_conn user_id]
    if { $user_id == 0 } {
        return ""
    }

    return [util_memoize [list lang::user::timezone_no_cache $user_id]]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-lang/tcl/locale-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: