Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Unassigned: TimeSpan Displays as Time (AM/PM) in PropertyGrid [20039]

$
0
0
I'm using the latest Toolkit (downloaded today). When setting the SelectedObject to an object containing multiple TimeSpan's, the value is being displayed as a time of day.
Example
TimeSpan value = 00:00:00 is displayed as 12:00:00 AM
TimeSpan value = 00:05:00 is displayed as 12:05:00 AM

Is this the default display for a TimeSpan? If not, why do you think this is occurring?
Comments: ** Comment from web user: nekaras **

I understand why you say it's not a bug, but I don't agree with the implementation. I wonder why the format is set to any DateTimeFormat. A TimeSpan is not intended to be a time of day. The intention is store a number of ticks.


Viewing all articles
Browse latest Browse all 4964

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>