Project

General

Profile

« Previous | Next » 

Revision fddb73c7

Added by Steve Beaver almost 8 years ago

Partially addresses #7805
Bios date and version check date formats now match other timestamps on the dashboard

View differences:

src/usr/local/www/widgets/widgets/system_information.widget.php
110 110
?>
111 111
	<div>
112 112
		<?printf("%s %s", gettext("Version information updated at"),
113
		    date("Y-m-d H:i", filemtime($cache_file)));?>
113
		    date("D M j G:i:s T Y", filemtime($cache_file)));?>
114 114
		    &nbsp;
115 115
		    <a id="updver" href="#" class="fa fa-refresh"></a>
116 116
	</div>
......
204 204
				<?=gettext("Version: ");?><strong><?=$biosversion[0];?></strong><br/>
205 205
			<?php endif; ?>
206 206
			<?php if (!empty($biosdate[0])): ?>
207
				<?=gettext("Release Date: ");?><strong><?=$biosdate[0];?></strong><br/>
207
				<?=gettext("Release Date: ");?><strong><?= date("D M j Y ",strtotime($biosdate[0]));?></strong><br/>
208 208
			<?php endif; ?>
209 209
			</td>
210 210
		</tr>

Also available in: Unified diff