Bug 488740

Summary: Warnings in output tab have timestamps with only the time but no date
Product: [Applications] kate Reporter: php4fan
Component: generalAssignee: Lassi Väätämöinen <lassi.vaatamoinen>
Status: RESOLVED FIXED    
Severity: wishlist CC: christoph, lassi.vaatamoinen
Priority: NOR    
Version First Reported In: 24.05.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
URL: https://invent.kde.org/utilities/kate/-/commit/27144678ee80091f4039e9f1aee94ddfa6db49b8
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description php4fan 2024-06-19 15:01:08 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

I never look at the Output tab, but I noticed that it was softly blinking, so I opened it and found these warnings:

```
[16:40:31  LSP Client Warning] Failed to find server binary: phpactor
Please check your PATH for the binary
See also https://github.com/phpactor/phpactor for installation or details
[16:40:32  LSP Client Warning] Failed to find server binary: phpactor
Please check your PATH for the binary
See also https://github.com/phpactor/phpactor for installation or details
[16:55:50  LSP Client Warning] Failed to find server binary: pylsp
Please check your PATH for the binary
See also https://github.com/python-lsp/python-lsp-server for installation or details
[18:44:52  LSP Client Warning] Failed to find server binary: pylsp
Please check your PATH for the binary
See also https://github.com/python-lsp/python-lsp-server for installation or details
[00:32:18  LSP Client Warning] Failed to find server binary: marksman
Please check your PATH for the binary
See also https://github.com/artempyanykh/marksman for installation or details
[00:37:27  LSP Client Warning] Failed to find server binary: solargraph
Please check your PATH for the binary
See also https://solargraph.org for installation or details
```

and I have no idea when they were emitted because they have the time but not the date. They could be from yesterday, or the day before or who knows (I often keep Kate open for days and I almost never reboot).

A timestamp should always have the date and time; a time-only timestamp is utterly useless.

STEPS TO REPRODUCE
1. use Kate for a while and make sure it has a reason to emit warnings or errors in the Output tab
2. Open the Output tab

OBSERVED RESULT
Warnings have timestamps with only the time of day but no date.


EXPECTED RESULT
Timestamps should include the date and time.


Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.6.32-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i7-1255U
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Vivobook_ASUSLaptop X1502ZA_F1502ZA
System Version: 1.0
Comment 1 Christoph Cullmann 2024-06-19 18:30:22 UTC
For many people that is useful enough and I am not sure we want a full date there representation wise.
If you want to provide a patch to add that optional, that would be ok for me.
Comment 2 Lassi Väätämöinen 2024-06-29 15:49:55 UTC
(In reply to Christoph Cullmann from comment #1)
> If you want to provide a patch to add that optional, that would be ok for me.

Initial draft for including the date: https://invent.kde.org/utilities/kate/-/merge_requests/1528/diffs
Need to get a setting to enable this.
Comment 3 Lassi Väätämöinen 2024-06-29 16:15:18 UTC
(In reply to Lassi Väätämöinen from comment #2)
> Initial draft for including the date:
> https://invent.kde.org/utilities/kate/-/merge_requests/1528/diffs
> Need to get a setting to enable this.

Added a setting now.
Comment 4 php4fan 2025-05-16 15:22:27 UTC
Where is the setting? Can't find it on 25.04. Or is it fixed in a later version?
Comment 5 Lassi Väätämöinen 2025-05-17 09:29:00 UTC
(In reply to php4fan from comment #4)
> Where is the setting? Can't find it on 25.04. Or is it fixed in a later
> version?

Behavior page. Has been there for several releases now
Comment 6 php4fan 2025-05-18 20:48:17 UTC
Oh I see, found it.

I see it's not checked by default, it should be.
Comment 7 Lassi Väätämöinen 2025-05-21 08:28:58 UTC
(In reply to php4fan from comment #6)
> I see it's not checked by default, it should be.

The original behavior of not having timestamps is maintained by not having it checked. You can check it for your needs.
Comment 8 php4fan 2025-05-21 15:50:47 UTC
> The original behavior of not having timestamps is maintained by not having it checked. You can check it for your needs.

I don't understand why you want to keep the less reasonable option as default but whatever.