[ZBX-4646] Month and minute are shortened with "m" Created: 2012 Feb 13  Updated: 2024 Apr 10  Resolved: 2022 Aug 02

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F), Server (S)
Affects Version/s: 1.8.10
Fix Version/s: 5.0.27rc1, 6.0.8rc1, 6.2.2rc1, 6.4.0alpha1, 6.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Volker Fröhlich Assignee: Alexander Vladishev
Resolution: Fixed Votes: 12
Labels: unsquashable, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File m_all_the_way.png     PNG File screenshot-1.png     PNG File screenshot-2.png    
Issue Links:
Duplicate
duplicates ZBX-9998 Misleading History storage period tra... Closed
is duplicated by ZBX-5038 2.0.0rc6 converts time incorrectly wh... Closed
Team: Team C
Sprint: Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022)
Story Points: 0.125

 Description   

Month and minute are shortened with "m":

2m 15d 20h – "m" standing for month
2m 43s – "m" standing for minute

Likely related to ZBX-702.



 Comments   
Comment by Alexei Vladishev [ 2012 Feb 24 ]

How do you want to resolve it? It is translation related problem or just a usability issue?

Comment by Volker Fröhlich [ 2012 Feb 24 ]

1.8, zabbix/include/locales/en_gb.inc.php:

----------------------->8---------------------------
    'S_MONTH_SHORT'=>           'm', 
    'S_WEEK_SHORT'=>            'w', 
    'S_DAY_SHORT'=>             'd', 
    'S_HOUR_SHORT' =>           'h', 
    'S_MINUTE_SHORT' =>         'm', 
----------------------->8---------------------------

Trunk, zabbix/include/locales/en_gb.inc.php:

----------------------->8---------------------------
    'S_YEAR_SHORT'=>            _('y'),
    'S_MONTH_SHORT'=>           _('m'),
    'S_WEEK_SHORT'=>            _('w'),
    'S_DAY_SHORT'=>             _('d'),
    'S_HOUR_SHORT' =>           _('h'),
    'S_MINUTE_SHORT' =>         _('m'),
----------------------->8---------------------------

According to ISO 6801, month should be abbreviated by a capital M, not a minor.

Comment by Volker Fröhlich [ 2012 Jul 21 ]

Here's a patch for Trunk! I'm not sure about week.

The correct ISO norm is 8601, by the way.

Comment by Volker Fröhlich [ 2012 Jul 21 ]

http://www.geofrogger.net/review/zabbix-r29009-iso-date.patch

Comment by Oleksii Zagorskyi [ 2012 Aug 04 ]

just a note - would be more correct to attach the patch here, in the Jira.

Comment by Alexei Vladishev [ 2012 Sep 07 ]

See also ZBX-5458 and ZBX-5458.

Comment by Volker Fröhlich [ 2013 Feb 01 ]

Can I do anything to get this settled?

Comment by richlv [ 2013 Feb 08 ]

probably should be fixed together with ZBX-5038

Comment by jabalv [ 2013 Nov 21 ]

Related to ZBX-7195

Comment by Nikolay Golub [ 2014 Jan 10 ]

Any updates?

Comment by Pavels Jelisejevs (Inactive) [ 2014 Jan 31 ]

We've decided to display days, months and years as D, M and Y.

Comment by Pavels Jelisejevs (Inactive) [ 2014 Feb 14 ]

Frontend side RESOLVED in r42700.

Comment by Pavels Jelisejevs (Inactive) [ 2014 Jul 22 ]

We're still not sure how to resolve this issue since mixing upper and lower case letters looks pretty ugly.

Comment by richlv [ 2015 Nov 02 ]

this got even worse in trunk - zabbix now attempts to display periods in a more user-friendly manner and ends up with this :

sasha Will be fixed under ZBX-9998.

CLOSED

Comment by Volker Fröhlich [ 2016 Mar 23 ]

This is still an open issue that wasn't fixed under ZBX-9998.

Comment by Alexey Pustovalov [ 2016 May 09 ]

http://www.ift.org/knowledge-center/read-ift-publications/journal-of-food-science/authors-corner/useful-abbreviations-and-nomenclature.aspx

<dimir> 404

Comment by Glebs Ivanovskis (Inactive) [ 2017 Feb 21 ]

How can we say that

We're still not sure how to resolve this issue...

when volter pointed us to ISO 8601 years ago? What's wrong with following international standards?

Comment by Volker Fröhlich [ 2018 Nov 13 ]

This is a crying shame. Can you please resolve that?

Comment by Alexander Vladishev [ 2022 Jul 28 ]

Fixed in:

Generated at Fri Apr 26 13:23:59 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.