[ANALYTICS-250] Amchart render wrong format for time data Created: 28/Oct/20 Updated: 17/Mar/21 Resolved: 09/Mar/21 |
|
| Status: | Closed |
| Project: | Analytics |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Oanh Thai Hoang | Assignee: | Antonín Juran |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | VN-Testing | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 3d 7.3h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Date of First Response: | |
| Epic Link: | UI/UX Dash improvements |
| Sprint: | Add-Ons 58, Add-Ons 59 |
| Story Points: | 5 |
| Description |
| Comments |
| Comment by Antonín Juran [ 15/Mar/21 ] |
|
For jlegendre: This PR introduced possibility for converting time metrics to seconds for data suppliers configured with info.magnolia.analytics.matomo.datasource.MatomoDataSupplierWithTransformer class. Matomo returns time metrics in some cases in format like 2 days 12:34:56.789 (it means 2 days, 12 hours, 34 minutes, 56.789 seconds), part for days and decimal part for seconds can miss if they're zero(s). Matomo metrics for a such conversion can be configured in matomo/config.yaml using property metricsForTimeToSecondsConversion. By default there are configured metrics listed bellow: metricsForTimeToSecondsConversion: |