Merge lp:~boiko/dialer-app/fix_timestamps into lp:dialer-app

Proposed by Gustavo Pichorim Boiko
Status: Merged
Approved by: Arthur Mello
Approved revision: 303
Merged at revision: 314
Proposed branch: lp:~boiko/dialer-app/fix_timestamps
Merge into: lp:dialer-app
Diff against target: 25 lines (+2/-2)
2 files modified
src/qml/HistoryPage/HistoryDelegate.qml (+1/-1)
src/qml/HistoryPage/HistoryDetailsPage.qml (+1/-1)
To merge this branch: bzr merge lp:~boiko/dialer-app/fix_timestamps
Reviewer Review Type Date Requested Status
Arthur Mello (community) Approve
PS Jenkins bot continuous-integration Needs Fixing
Review via email: mp+239068@code.launchpad.net

Commit message

Format timestamps according to the locale.

Description of the change

Format timestamps according to the locale.

== Checklist ==
Are there any related MPs required for this MP to build/function as expected? Please list.
No

Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)
Yes

Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?
Yes

Did you successfully run all tests found in your component's Test Plan (https://wiki.ubuntu.com/Process/Merges/TestPlan/<package-name>) on device or emulator?
Yes

If you changed the UI, was the change specified/approved by design?
N/A

If you changed UI labels, did you update the pot file?
N/A

If you changed the packaging (debian), did you add a core-dev as a reviewer to this MP?
N/A

To post a comment you must log in.
lp:~boiko/dialer-app/fix_timestamps updated
303. By Gustavo Pichorim Boiko

Fix the timestamp also in the call history details.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Arthur Mello (artmello) wrote :

Did you perform an exploratory manual test run of the code change and any related functionality on device or emulator?
yes

Did you successfully run all tests found in your component's Test Plan (https://wiki.ubuntu.com/Process/Merges/TestPlan/dialer-app) on device or emulator?
yes

Did CI run pass? If not, please explain why.
yes

Have you checked that submitter has accurately filled out the submitter checklist and has taken no shortcut?
yes

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/qml/HistoryPage/HistoryDelegate.qml'
2--- src/qml/HistoryPage/HistoryDelegate.qml 2014-09-24 17:55:17 +0000
3+++ src/qml/HistoryPage/HistoryDelegate.qml 2014-10-21 14:29:03 +0000
4@@ -227,7 +227,7 @@
5 // TRANSLATORS: this string is the time a call has happenend. It represents the format to be used, according to:
6 // http://qt-project.org/doc/qt-5/qml-qtqml-qt.html#formatDate-method
7 // please change according to your language
8- text: Qt.formatTime(model.timestamp, i18n.tr("hh:mm ap"))
9+ text: Qt.formatTime(model.timestamp, Qt.DefaultLocaleShortDate)
10 }
11
12 Label {
13
14=== modified file 'src/qml/HistoryPage/HistoryDetailsPage.qml'
15--- src/qml/HistoryPage/HistoryDetailsPage.qml 2014-09-19 13:55:32 +0000
16+++ src/qml/HistoryPage/HistoryDetailsPage.qml 2014-10-21 14:29:03 +0000
17@@ -258,7 +258,7 @@
18 id: timeLabel
19 // TRANSLATORS: HH:mm is the time format, translate it according to:
20 // http://qt-project.org/doc/qt-5/qml-qtqml-qt.html#formatDate-method
21- text: Qt.formatTime(modelData.timestamp, i18n.tr("hh:mm ap"))
22+ text: Qt.formatTime(modelData.timestamp, Qt.DefaultLocaleShortDate)
23 anchors {
24 left: parent.left
25 verticalCenter: parent.verticalCenter

Subscribers

People subscribed via source and target branches