File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
administrator/components/com_tags/src/Model Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -127,20 +127,9 @@ public function getItem($pk = null)
127127 $ registry = new Registry ($ result ->urls );
128128 $ result ->urls = $ registry ->toArray ();
129129
130- // Convert the created and modified dates to local user time for display in the form.
130+ // Convert the modified dates to local user time for display in the form.
131131 $ tz = new \DateTimeZone (Factory::getApplication ()->get ('offset ' ));
132132
133- if ((int ) $ result ->created_time )
134- {
135- $ date = new Date ($ result ->created_time );
136- $ date ->setTimezone ($ tz );
137- $ result ->created_time = $ date ->toSql (true );
138- }
139- else
140- {
141- $ result ->created_time = null ;
142- }
143-
144133 if ((int ) $ result ->modified_time )
145134 {
146135 $ date = new Date ($ result ->modified_time );
You can’t perform that action at this time.
0 commit comments