You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The man datediff page says %0 is the modifier to pad refined values with zeroes but it seems to only pad out to two character positions vs. one character for each 0 I put in the format spec. If this is working as designed, can this be made as a feature request? It doesn't have to be implemented like in my example -- %000 -- but using whatever method is practical.
The text was updated successfully, but these errors were encountered:
UTC date duration is my particular use case - how to zero (or space) pad to fixed width to line up in a column?
Sample code
Actual output from above:
Goal is to pad the number of days to be a fixed width of three digits:
The
man datediff
page says %0 is the modifier to pad refined values with zeroes but it seems to only pad out to two character positions vs. one character for each0
I put in the format spec. If this is working as designed, can this be made as a feature request? It doesn't have to be implemented like in my example --%000
-- but using whatever method is practical.The text was updated successfully, but these errors were encountered: