merged branch vicb/timeline (PR #4440)
Commits -------d549493
[WebProfilerBundle] Fix time panel for fr locale (fix #4437) Discussion ---------- [WebProfilerBundle] Fix time panel for fr locale (fix #4437) @Vincent-P could you confirm if this commit fixes your issues , Thanks. --------------------------------------------------------------------------- by travisbot at 2012-05-28T12:39:05Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1455324) (mergedd5494936
intoadf07f1e
).
This commit is contained in:
commit
2c6818fefc
@ -242,7 +242,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
var requests_data = {
|
var requests_data = {
|
||||||
"max": {{ collector.events.__section__.endtime }},
|
"max": {{ "%F"|format(collector.events.__section__.endtime) }},
|
||||||
"requests": [
|
"requests": [
|
||||||
{{ _self.dump_request_data(token, profile, collector.events, collector.events.__section__.origin) }}
|
{{ _self.dump_request_data(token, profile, collector.events, collector.events.__section__.origin) }}
|
||||||
|
|
||||||
@ -262,7 +262,7 @@
|
|||||||
{% macro dump_request_data(token, profile, events, origin) %}
|
{% macro dump_request_data(token, profile, events, origin) %}
|
||||||
{
|
{
|
||||||
"id": "{{ token }}",
|
"id": "{{ token }}",
|
||||||
"left": {{ events.__section__.origin - origin }},
|
"left": {{ "%F"|format(events.__section__.origin - origin) }},
|
||||||
"events": [
|
"events": [
|
||||||
{{ _self.dump_events(events) }}
|
{{ _self.dump_events(events) }}
|
||||||
]
|
]
|
||||||
@ -275,13 +275,13 @@
|
|||||||
{
|
{
|
||||||
"name": "{{ name }}",
|
"name": "{{ name }}",
|
||||||
"category": "{{ event.category }}",
|
"category": "{{ event.category }}",
|
||||||
"origin": {{ event.origin }},
|
"origin": {{ "%F"|format(event.origin) }},
|
||||||
"starttime": {{ event.starttime }},
|
"starttime": {{ "%F"|format(event.starttime) }},
|
||||||
"endtime": {{ event.endtime }},
|
"endtime": {{ "%F"|format(event.endtime) }},
|
||||||
"totaltime": {{ event.totaltime }},
|
"totaltime": {{ "%F"|format(event.totaltime) }},
|
||||||
"periods": [
|
"periods": [
|
||||||
{%- for period in event.periods -%}
|
{%- for period in event.periods -%}
|
||||||
{"begin": {{ period.0 }}, "end": {{ period.1 }}}{{ loop.last ? '' : ', ' }}
|
{"begin": {{ "%F"|format(period.0) }}, "end": {{ "%F"|format(period.1) }}}{{ loop.last ? '' : ', ' }}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
]
|
]
|
||||||
}{{ loop.last ? '' : ',' }}
|
}{{ loop.last ? '' : ',' }}
|
||||||
|
Reference in New Issue
Block a user