provide ways to over-ride the datetime pickers

This commit is contained in:
friendica
2015-03-26 18:03:39 -07:00
parent f1a1660709
commit 47292c612c
5 changed files with 10 additions and 4 deletions

View File

@@ -1158,6 +1158,8 @@ function status_editor($a, $x, $popup = false) {
$preview = '';
$defexpire = ((($z = get_pconfig($x['profile_uid'], 'system', 'default_post_expire')) && (! $webpage)) ? $z : '');
if($defexpire)
$defexpire = datetime_convert('UTC',date_default_timezone_get(),$defexpire,'Y-m-d H:i');
$cipher = get_pconfig($x['profile_uid'], 'system', 'default_cipher');
if(! $cipher)