When I use datestr2num('2010-05') it nicely converts that to a number
representing the date.
When I convert that number back with num2date, it turns out it sets the day
to the 19th of the month. The dime is 0:00:00.
Any reason it is set to the 19th instead of the first?
Maybe because today it the 19th, or is that just a coincidence?
datestr2num calls dateutil.parser.parse, which by default uses the
current date at 00:00:00 for missing fields. The dateutil function
also can use a "default" argument to change this bahavoir but it is
not available in datestr2num.