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
I'm formatting an ITime for printing out to CSV like HH:MM (truncating/throwing away seconds, mentioned in #1979). Since that's not a built-in option for fwrite, I set up the workaround of using substr, but it fails if my table has zero rows:
I'm not sure if that can be fixed or is worth fixing, but figured I'd post just in case. I wrapped in invisible since apparently last time (#2032) it was related to printing to console.
I'll just switch to sprintf("%02d:%02d", hour(x), minute(x)) for now.
The text was updated successfully, but these errors were encountered:
I'm formatting an ITime for printing out to CSV like HH:MM (truncating/throwing away seconds, mentioned in #1979). Since that's not a built-in option for fwrite, I set up the workaround of using
substr
, but it fails if my table has zero rows:I'm not sure if that can be fixed or is worth fixing, but figured I'd post just in case. I wrapped in
invisible
since apparently last time (#2032) it was related to printing to console.I'll just switch to
sprintf("%02d:%02d", hour(x), minute(x))
for now.The text was updated successfully, but these errors were encountered: