Home
last modified time | relevance | path

Searched refs:dstr (Results 1 – 3 of 3) sorted by relevance

/plugin/dwcommits/
H A Dhelper.php401 … list($dstr,$mon,$day,$hour,$min,$sec,$year) = $date_matches;
703 function get_timestamp($dstr) { argument
704 if(!$dstr) return "";
705 if(preg_match('/[a-zA-Z]/',$dstr)){
706 msg('Date wasn\'t set:' . $dstr , -1);
710 list($month,$day,$year) = explode('-',$dstr);
712 msg('Incorrect date format: ' . $dstr , -1);
716 msg('Incorrect date format: ' . $dstr , -1);
H A Dadmin.php420 msg('Date wasn\'t set:' . $dstr . ' Will be set to default', -1);
424 msg('Incorrect date format: ' . $dstr .' Will be set to default', -1);
428 msg('Incorrect date format: ' . $dstr .' Will be set to default', -1);
/plugin/xlsx2dw/packages/xlsx/
H A Dxlsx.mjs23623 var dstr = [], zstr = [];
23632 dstr.push(dd + (dstyle == 2 ? " week" + (dd == 1 ? "" : "s") : dstyle == 1 ? "w" : ""));
23641 dstr.push(dd + (dstyle == 2 ? " day" + (dd == 1 ? "" : "s") : dstyle == 1 ? "d" : ""));
23650 dstr.push(dd + (dstyle == 2 ? " hour" + (dd == 1 ? "" : "s") : dstyle == 1 ? "h" : ""));
23660 dstr.push((dmin == 8 && dmax == 8 || dd >= 10 ? "" : "0") + dd);
23662 dstr.push(dd + (dstyle == 2 ? " minute" + (dd == 1 ? "" : "s") : dstyle == 1 ? "m" : ""));
23672 dstr.push((dmax == 16 && dmin == 16 || dd >= 10 ? "" : "0") + dd);
23674 dstr.push(dd + (dstyle == 2 ? " second" + (dd == 1 ? "" : "s") : dstyle == 1 ? "s" : ""));
23681 dstr.push((dd >= 100 ? "" : dd >= 10 ? "0" : "00") + dd);
23683dstr.push(dd + (dstyle == 2 ? " millisecond" + (dd == 1 ? "" : "s") : dstyle == 1 ? "ms" : ""));
[all …]