Главная страница
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.039 c
4-1139077583
Vlad_Ladynin
2006-02-04 21:26
2006.04.23
Эмуляция нажатия горячих клавиш.


2-1144289745
raptor3
2006-04-06 06:15
2006.04.23
Глюк с запросом


6-1137063115
HITMAN
2006-01-12 13:51
2006.04.23
HTTP


15-1143915613
Кручен-Верчен
2006-04-01 22:20
2006.04.23
Мне просто страшно подумать, что с моим ником станет!?


1-1142447074
Zoom
2006-03-15 21:24
2006.04.23
Модуль для работы с большими числами