bugfix

thought time would have seconds; it does not.  changed substr call to
reflect this.