Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.04.23;
Скачать: 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 вся ветка

Текущий архив: 2006.04.23;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.05 c
9-1128528469
747
2005-10-05 20:07
2006.04.23
Текстовый квест - нужна помощь.


8-1132228825
CondAL
2005-11-17 15:00
2006.04.23
проиграть события в midi файлах


15-1143992025
Marser
2006-04-02 19:33
2006.04.23
Банный лист


15-1144221582
Zhekson
2006-04-05 11:19
2006.04.23
Построение изофот


15-1144046356
ORMADA
2006-04-03 10:39
2006.04.23
Delphi7+sp1