Last modified: 2013-12-28 13:41:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61064, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59064 - REPORTS-4 when a cached query is shown, indicate the age in a better way than seconds
REPORTS-4 when a cached query is shown, indicate the age in a better way than...
Status: RESOLVED FIXED
Product: Tool Labs tools
Classification: Unclassified
tsreports (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Bugzilla Bug Importer (valhallasw)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-28 13:41 UTC by Bugzilla Bug Importer (valhallasw)
Modified: 2013-12-28 13:41 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bugzilla Bug Importer (valhallasw) 2013-12-28 13:41:44 UTC
This issue was converted from https://jira.toolserver.org/browse/REPORTS-4.
Summary: when a cached query is shown, indicate the age in a better way than seconds
Issue type: Improvement - An improvement or enhancement to an existing feature or task.
Priority: Major
Status: Resolved
Assignee: River Tarnell <river.tarnell@wikimedia.de>

-------------------------------------------------------------------------------
From: River Tarnell <river.tarnell@wikimedia.de>
Date: Tue, 16 Sep 2008 18:49:24
-------------------------------------------------------------------------------

When a cached query is displayed in DoReport, the warning looks like 'This query was cached 23098 seconds ago'. Instead, it should be something more human-readable, like "This query was cached 2 hours, 37 minutes ago. It will be run again in 17 hours." This needs to be done in an i18nable way.
Comment 1 Bugzilla Bug Importer (valhallasw) 2013-12-28 13:41:46 UTC
-------------------------------------------------------------------------------
From: River Tarnell <river.tarnell@wikimedia.de>
Date: Wed, 17 Sep 2008 18:04:36
-------------------------------------------------------------------------------

Implemented in r48. I changed I18nLoader into a mostly static class that's instantiated once, in ReportContext at startup. It loads all languages and i18n files, and provides a get_language method, which returns a new type of language class. One of these exists for each language (e.g. LanguageEnglish, LanguageGerman, etc), and provides per-language formatting functions. The new method format_duration was used to implement the duration formatting in DoReport.
Comment 2 Bugzilla Bug Importer (valhallasw) 2013-12-28 13:41:47 UTC
This bug was imported as RESOLVED. The original assignee has therefore not been
set, and the original reporters/responders have not been added as CC, to
prevent bugspam.

If you re-open this bug, please consider adding these people to the CC list:
Original assignee: river@TCX.ORG.UK
CC list: river@TCX.ORG.UK

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links