Issues with TimeSpan
montoner0 opened this issue · 1 comments
montoner0 commented
I've faced some issues when trying to use TimeSpan class with Fluid. Not sure if they're bugs or it's just me.
- Formatting TimeSpan variable with either
date
orformat_date
silently fails if the variable's value is more than 23:59:59. - You can't access TimeSpan's properties even with UnsafeMemberAccessStrategy (probably by design since I can't even register it as an accessible type).
A simple repro https://dotnetfiddle.net/rqA9Az
montoner0 commented
After looking at the code of format_date I see that TimeSpan isn't expected at all and its partial working is just a lucky coincidence...