The is useful in some cases.
It is used inconsistently, though. Both times is used ('%b %d, %Y at %H:%M %Z' and /%Y-%m-%d %H:%M:%S %Z/), the other spaces are just normal spaces. I would say just replace the with normal spaces, but I don't know if the non-breaking space was intentionally included to keep the time zone information with the time.
| [reply] [d/l] [select] |
Yes, I realize that not all of the spaces are . That is intentional, actually. Having no breaking spaces would mean that the dates can't be split at all. Having a non-breaking space between the two shortest elements leads to, when a table is too wide for a display, the date/time being split in a better-looking way.
It might be good to replace, say, at least the first two spaces in that first string with non-breaking spaces. Though, those are less important because they come at the front of the string where breaking is less likely anyway. I don't use that format so don't have any experience with how that format breaks in an ugly manner in tables displayed at PerlMonks, so my guesses there are less founded so I haven't touched that. But allowing the date/time to break into 2 pieces that are likely to be roughly the same length has proven beneficial when using the other format.
I don't know if the non-breaking space was intentionally included to keep the time zone information with the time.
"The is useful in some cases." Yes, that particular is useful.
| [reply] [d/l] [select] |
Sorry I don't get it, you are explaining why this is beneficial in html design, but this is xml data for external clients.
Or do you use these xml scripts internally to populate html templates?
What am I missing?
update
Never mind read the whole thread again and got it now.
s/ / / for the xml ticker would be nice! :)
| [reply] [d/l] [select] |