function phabricator_datetime($epoch, $user) { $time_key = PhabricatorUserPreferences::PREFERENCE_TIME_FORMAT; return phabricator_format_local_time($epoch, $user, pht('%s, %s', phutil_date_format($epoch), $user->getPreference($time_key))); }
function phabricator_datetime($epoch, $user) { $time_key = PhabricatorTimeFormatSetting::SETTINGKEY; return phabricator_format_local_time($epoch, $user, pht('%s, %s', phutil_date_format($epoch), $user->getUserSetting($time_key))); }