Home » U++ Library support » CalendarCtrl » DropTime problem
| Re: DropTime problem [message #19564 is a reply to message #19560] |
Tue, 16 December 2008 13:00   |
Tom1
Messages: 1317 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
Thanks! Now here's a suggestion: Change code in Core/Convert.cpp as follows:
int ConvertTime::Filter(int chr) const
{
if(IsDigit(chr) || chr == ' ' || chr == '.' || chr == ':')
return chr;
if(chr == ',')
return '.';
return CharFilterDate(chr);
}
Time is not only hh:mm:ss, but also contains date in some format. I assume the filter should therefore accept the current date filter characters too.
// Tom
|
|
|
|
Goto Forum:
Current Time: Sun Dec 14 08:11:22 CET 2025
Total time taken to generate the page: 0.12500 seconds
|