diff --git a/webui/user/index.php b/webui/user/index.php index ba2152d1f98a74c08c2a22ae9e0007d158455c96..9cf38ad607f0ae2e39a476765b2c6136d8e5dfda 100644 --- a/webui/user/index.php +++ b/webui/user/index.php @@ -479,7 +479,7 @@ function displayDetails() { ?> </td> <td align="center" class="value"><?php echo $trafficRow['ValidFrom']; ?></td> - <td align="center" class="value"><?php echo $trafficRow['Expires']; ?></td> + <td align="center" class="value"><?php $thisDate = strtotime($trafficRow['Expires']); echo date("Y-m-d",$thisDate);?></td> </tr> <?php } @@ -511,7 +511,7 @@ function displayDetails() { ?> </td> <td align="center" class="value"><?php echo $uptimeRow['ValidFrom']; ?></td> - <td align="center" class="value"><?php echo $uptimeRow['Expires']; ?></td> + <td align="center" class="value"><?php $thisDate = strtotime($uptimeRow['Expires']); echo date("Y-m-d",$thisDate);?></td> </tr> <?php }