Вниз
Скачать: CL | DM;

just a little bug v2.10   Найти похожие ветки 

← →
ebta   (2005-08-28 02:34) [0]

I fail when convert Str to datetime using Str2DateTimeFmt
ex. Str2DateTimeFmt("HH:mm","18:23") result is 00:00

I found in the SystemTime2DateTime function
when i change wMonth >= 0 and wDay >= 0 (or remove it, just like in v2.00), its works fine.

thanks for great components.


← →
Vladimir Kladov   (2005-08-28 20:37) [1]

Thnk youin 2.11 will fix to
 if {(wYear >= 0) !always true! and} (wYear <= 9999) and
   {(wMonth >= 1) and !otherwise can not convert time only!}
   (wMonth <= 12) and
   {(wDay >= 1) and !otherwise can not convert time only!}
   (wDay <= DayTable^[wMonth]) and                                      //
   (wHour < 24) and (wMinute < 60) and (wSecond < 60) and (wMilliSeconds < 1000) then   //
and now with comments why these checks should not be there...



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.026 c
11-1118889227
DmiSb
2005-06-16 06:33
2006.04.23
Компонент - Object Inspector


2-1144683994
эксперт
2006-04-10 19:46
2006.04.23
соединение


9-1127799288
!Trinix
2005-09-27 09:34
2006.04.23
Sky in Glscene


3-1140707383
Serg1981
2006-02-23 18:09
2006.04.23
Заполнение Мемо-поля


4-1139054418
MyCola
2006-02-04 15:00
2006.04.23
Сигнализация для мышки и клавы




   Наверх