bah.datetime, creating TDate object C++ functions.
BlitzMax Forums/Brucey's Modules/bah.datetime, creating TDate object C++ functions.
| ||
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. |
| ||
Reason? Yes... oversight :-) |
| ||
I see you fixed bmx_datetime_fromundelimitedstring but not bmx_datetime_newdate. :) |