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
=== modified file 'src/qml/HistoryPage/HistoryDelegate.qml'
--- src/qml/HistoryPage/HistoryDelegate.qml 2014-09-24 17:55:17 +0000
+++ src/qml/HistoryPage/HistoryDelegate.qml 2014-10-21 14:29:03 +0000
@@ -227,7 +227,7 @@
227 // TRANSLATORS: this string is the time a call has happenend. It represents the format to be used, according to:227 // TRANSLATORS: this string is the time a call has happenend. It represents the format to be used, according to:
228 // http://qt-project.org/doc/qt-5/qml-qtqml-qt.html#formatDate-method228 // http://qt-project.org/doc/qt-5/qml-qtqml-qt.html#formatDate-method
229 // please change according to your language229 // please change according to your language
230 text: Qt.formatTime(model.timestamp, i18n.tr("hh:mm ap"))230 text: Qt.formatTime(model.timestamp, Qt.DefaultLocaleShortDate)
231 }231 }
232232
233 Label {233 Label {
234234
=== modified file 'src/qml/HistoryPage/HistoryDetailsPage.qml'
--- src/qml/HistoryPage/HistoryDetailsPage.qml 2014-09-19 13:55:32 +0000
+++ src/qml/HistoryPage/HistoryDetailsPage.qml 2014-10-21 14:29:03 +0000
@@ -258,7 +258,7 @@
258 id: timeLabel258 id: timeLabel
259 // TRANSLATORS: HH:mm is the time format, translate it according to:259 // TRANSLATORS: HH:mm is the time format, translate it according to:
260 // http://qt-project.org/doc/qt-5/qml-qtqml-qt.html#formatDate-method260 // http://qt-project.org/doc/qt-5/qml-qtqml-qt.html#formatDate-method
261 text: Qt.formatTime(modelData.timestamp, i18n.tr("hh:mm ap"))261 text: Qt.formatTime(modelData.timestamp, Qt.DefaultLocaleShortDate)
262 anchors {262 anchors {
263 left: parent.left263 left: parent.left
264 verticalCenter: parent.verticalCenter264 verticalCenter: parent.verticalCenter

Subscribers

People subscribed via source and target branches