4 ms·
From the screenshot, someone not familiar with strftime would be lost; but most people would be able to figure out the invented format. Also, it looked like use
by toast0 10y ago
From the screenshot, someone not familiar with strftime would be lost; but most people would be able to figure out the invented format. Also, it looked like users got to choose from a drop down of suggestions -- the "format string" was probably only for users to read, not actually parsed.
- userbinator 10y agoAlso, it looked like users got to choose from a drop down of suggestions -- the "format string" was probably only for users to read, not actually parsed. Actually it is possible to write your own format string, since those are comboboxes: https://www.bleepstatic.com/tutorials/windows/customize-windows-time/time-customize-format.jpg https://www.bleepstatic.com/tutorials/windows/customize-wind... Also, I would agree that the Windows UI is better since it provides a short description of the format letters; but they could've just as easily done that for the commonly-used strftime() specifiers too, with perhaps a link that opens a popup with all of them. The live preview at the top also helps.