bah.datetime, creating TDate object C++ functions.

BlitzMax Forums/Brucey's Modules/bah.datetime, creating TDate object C++ functions.

Sören(Posted 2009) [#1]
I was just wondering if there was any particular reason you haven't added a try/catch for the bmx_datetime_fromundelimitedstring() and bmx_datetime_newdate() functions, like you did for bmx_datetime_fromstring() in glue.cpp?

You can't use an invalid date with the two functions or it crashes, without the try/catch.


Brucey(Posted 2009) [#2]
Reason? Yes... oversight :-)


Sören(Posted 2009) [#3]
I see you fixed bmx_datetime_fromundelimitedstring but not bmx_datetime_newdate. :)