Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
c3882035
Commit
c3882035
authored
Jun 22, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4001 from SDKiller/patch-2
Fix html markdown for span class="not-set" when time is not set
parents
39f5cbbf
85d06fbd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
_item.php
extensions/debug/views/default/panels/mail/_item.php
+1
-3
No files found.
extensions/debug/views/default/panels/mail/_item.php
View file @
c3882035
...
...
@@ -4,8 +4,6 @@
use
yii\helpers\Html
;
use
yii\widgets\DetailView
;
$timeFormatter
=
extension_loaded
(
'intl'
)
?
Yii
::
createObject
([
'class'
=>
'yii\i18n\Formatter'
])
:
Yii
::
$app
->
formatter
;
echo
DetailView
::
widget
([
'model'
=>
$model
,
'attributes'
=>
[
...
...
@@ -15,7 +13,7 @@ echo DetailView::widget([
'charset'
,
[
'attribute'
=>
'time'
,
'
value'
=>
$timeFormatter
->
asDateTime
(
$model
[
'time'
],
'short'
)
,
'
format'
=>
'datetime'
,
],
'subject'
,
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment