Content
View differences
Updated by Robin Wagner over 11 years ago
In both the current stable branch (4.0.1) and the dev branch (tested @ 0220c67), the detail view of logged time entries does not show the logged date (`spent_on`), but instead displays the current time.
I believe this is an error in the data passing in the angular scope. The parameter `dateValue` is empty, and thus undefined is passed to
`scope.date = TimezoneService.formattedDate(scope.dateValue);`
which in turn results in the date always set to today.
The issue appears to be fixed when adding a data observer to the custom directive.
The following example contains a time entry with `spent_on` set to 2014-11-02:

yet, the detail view shows the current date.

I believe this is an error in the data passing in the angular scope. The parameter `dateValue` is empty, and thus undefined is passed to
`scope.date = TimezoneService.formattedDate(scope.dateValue);`
which in turn results in the date always set to today.
The issue appears to be fixed when adding a data observer to the custom directive.
The following example contains a time entry with `spent_on` set to 2014-11-02:

yet, the detail view shows the current date.
