[Calculator app] Date / time format is too verbose
Bug #1156520 reported by
Alan Pope πΊπ§π± π¦
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Fix Released
|
Wishlist
|
Riccardo Padovani | ||
Ubuntu UX |
Fix Committed
|
Medium
|
Christina Li |
Bug Description
When tearing off a calculation, the date/time is printed on the strip. The date is too technical and verbose.
E.g. "Mon Mar 18 2013 09:18:56 GMT+0000 (GMT)".
The notepad sample application in "notepad-qml" package has a more desirable format.
Something which changes over time would be more friendly.
"10 minutes ago" - for very recently torn off calculations
"Yesterday, 3:50 AM" - a little while ago
"Thursday, 2:59 PM" - further back (up to a week)
"Jan 15, 8:45 AM" - longer ago..
Related branches
lp:~rpadovani/ubuntu-calculator-app/fix-for-1156520
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Dalius (community): Approve
-
Diff: 199 lines (+117/-3)5 files modifiedSimple/Memory.qml (+1/-0)
Simple/Screen.qml (+19/-0)
Simple/SimplePage.qml (+15/-3)
Storage.qml (+75/-0)
debian/changelog (+7/-0)
Changed in ubuntu-calculator-app: | |
assignee: | nobody → Riccardo Padovani (rpadovani) |
Changed in ubuntu-calculator-app: | |
assignee: | Riccardo Padovani (rpadovani) → nobody |
Changed in ubuntu-calculator-app: | |
importance: | Undecided → Wishlist |
Changed in ubuntu-calculator-app: | |
assignee: | nobody → Riccardo Padovani (rpadovani) |
Changed in ubuntu-calculator-app: | |
status: | New → In Progress |
Changed in ubuntu-calculator-app: | |
status: | In Progress → Fix Committed |
summary: |
- Date / time format is too verbose + [Calculator app] Date / time format is too verbose |
Changed in ubuntu-ux: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Christina Li (christina-li) |
Changed in ubuntu-calculator-app: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ux: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
In order to implement this we will need to do following:
Instead of creating date label when main label is missing we will need to show non-editable date label when main label is missing. We already have date column in DB (see insertDate) therefore DB side is not affected.
Changing over-time is more complicated to implement. To avoid slowness in calculator we might take two approaches:
1) Assume that user will close and open calculator frequently and update date information only on start;
2) Use timer and update date information each 5 minutes (I think that's delta user will tolerate).
As well I highly recommend reusing the fact that history is always go date-by-date - our list is always consistent. Therefore when first entry older than one week is met we can stop updating text of dates because exact date is used in such cases.