Skip to content

Commit

Permalink
Dev: Remove tracevar
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed May 2, 2017
1 parent ab477c8 commit 934ce45
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions application/libraries/Date_Time_Converter.php
Expand Up @@ -189,8 +189,6 @@ private function _month_num($themonth, $return_two_digit = false)
*/
private function _date_to_timestamp($thedate, $mask)
{
tracevar('thedate = ' . $thedate);
tracevar('mask = ' . $mask);
$mask_orig = $mask;
// define the valid values that we will use to check
// value => length
Expand Down Expand Up @@ -342,8 +340,6 @@ private function _date_to_timestamp($thedate, $mask)
$this->hours = $this->hours + 12;
}

tracevar('days = ' . $this->days);

$make_stamp = adodb_mktime(
(int) ltrim($this->hours, "0"),
(int) ltrim($this->minutes, "0"),
Expand All @@ -353,7 +349,6 @@ private function _date_to_timestamp($thedate, $mask)
(int) ltrim($this->years, "0")
);

tracevar('make_stamp = ' . $make_stamp);
return $make_stamp;
}

Expand All @@ -364,9 +359,7 @@ private function _date_to_timestamp($thedate, $mask)
*/
public function convert($new_mask, $save = true)
{
tracevar('new_mask = ' . $new_mask);
$newdate = adodb_date($new_mask, $this->date_time_stamp);
tracevar('newdate = ' . $newdate);
//if they want to save and apply this new mask to $this->date_time, save it
if ($save == true) {
$this->date_time_mask = $new_mask;
Expand Down

0 comments on commit 934ce45

Please sign in to comment.