rem: struct tm *_tm;
context: int tr_parse_dtstart(tmrec_p _trp, char *_in){	struct tm *_tm;	if(!_trp || !_in)		return -1;	_trp->dtstart = ic_parse_datetime(_in);		_tm = localtime(&_trp->dtstart);	_trp->ts.tm_sec = _tm->tm_sec;        /* seconds */	_trp->ts.tm_min = _tm->tm_min;        /* minutes */	_trp->ts.tm_hour = _tm->tm_hour;      /* hours */	_trp->ts.tm_mday = _tm->tm_mday;      /* day of the month */	_trp->ts.tm_mon = _tm->tm_mon;        /* month */	_trp->ts.tm_year = _tm->tm_year;      /* year */	_trp->ts.tm_wday = _tm->tm_wday;      /* day of the week */	_trp->ts.tm_yday = _tm->tm_yday;      /* day in the year */	_trp->ts.tm_isdst = _tm->tm_isdst;    /* daylight saving time */	return 0;}