[ZBX-19583] Incorrect display format for expire date of API token Created: 2021 Jun 17  Updated: 2024 Apr 10  Resolved: 2022 Mar 07

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 6.0.2rc1, 6.2.0alpha1, 6.2 (plan)

Type: Problem report Priority: Major
Reporter: Alexey Pustovalov Assignee: Andrejs Verza
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2021-06-17 at 14.20.51.png     PNG File Screenshot from 2022-03-07 13-17-48.png     PNG File screenshot-1.png     PNG File screenshot-2.png     PNG File screenshot-3.png    
Issue Links:
Duplicate
is duplicated by ZBX-20673 Date search error in the SLA Report o... Closed
Team: Team A
Sprint: Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022)
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Create an API token with any expire date
  2. Open the API token from the list of available tokens
  3. Click on Regenerate
  4. "Incorrect value for field "expires_at": a time is expected." error

The issue happens because display date format is not the same format with parser. It is "17.06.2021 00:00:00", but must be "2021-06-18 00:00:00":



 Comments   
Comment by Janis Freibergs [ 2021 Aug 26 ]

Fixed in development branch feature/ZBX-19583-5.4.

Comment by Andrejs Verza [ 2022 Mar 07 ]

Fixed in:

Generated at Fri May 02 08:44:19 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.