JetBrains / ideolog

Interactive viewer for '.log' files.
MIT License
254 stars 55 forks source link

Need more help on time formats #95

Open glensc opened 4 years ago

glensc commented 4 years ago

Trying to add kubernetes time format, but there's no inline help for how to do that, and logically using \T just fails:

image

There should be link to documentation or just inline documentation of the formats.

Also, it would be nice of Kubernetes kubectl logs is supported out of the box.

sarndt commented 4 years ago

For the T, you'll need to do 'T' to get it to work. See the examples table here: https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html

glensc commented 4 years ago

I was thinking, the UX wise, perhaps it could be a dropdown for some common formats (from that Javadoc), and also to be able to edit as text.

and the dialog should point to that Javadoc link for advanced usage.