Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "KOL";
Текущий архив: 2006.04.23;
Скачать: [xml.tar.bz2];

Вниз

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 вся ветка

Форум: "KOL";
Текущий архив: 2006.04.23;
Скачать: [xml.tar.bz2];

Наверх




Память: 0.44 MB
Время: 0.013 c
2-1144232901
SveT
2006-04-05 14:28
2006.04.23
Относительный путь..


15-1143740118
xayam
2006-03-30 21:35
2006.04.23
VMWare 5.5


2-1143984013
bogdan
2006-04-02 17:20
2006.04.23
задача на перебор


15-1143774590
Nic
2006-03-31 07:09
2006.04.23
Deep Forest


2-1144741622
cosskay
2006-04-11 11:47
2006.04.23
Вывод документа строгой отчетности на печать





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский