docs: function (chrs, buffer, pos, strict, opts) {
                          var isValid = opts.regex.hrs.test(chrs);
                          if (!strict && !isValid) {
                              if (chrs.charAt(1) == opts.timeseparator || "-.:".indexOf(chrs.charAt(1)) != -1) {
                                  isValid = opts.regex.hrs.test("0" + chrs.charAt(0));
                                  if (isValid) {
                                      buffer[pos - 1] = "0";
                                      buffer[pos] = chrs.charAt(0);
                                      pos++;
                                      return { "pos": pos };
                                  }
                              }
                          }
  
                          if (isValid && opts.hourFormat !== "24" && opts.regex.hrs24.test(chrs)) {
  
                              var tmp = parseInt(chrs, 10);
  
                              if (tmp == 24) {
                                  buffer[pos + 5] = "a";
                                  buffer[pos + 6] = "m";
                              } else {
                                  buffer[pos + 5] = "p";
                                  buffer[pos + 6] = "m";
                              }
  
                              tmp = tmp - 12;
  
                              if (tmp < 10) {
                                  buffer[pos] = tmp.toString();
                                  buffer[pos - 1] = "0";
                              } else {
                                  buffer[pos] = tmp.toString().charAt(1);
                                  buffer[pos - 1] = tmp.toString().charAt(0);
                              }
  
                              return { "pos": pos, "c": buffer[pos] };
                          }
  
                          return isValid;
                      }