Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yunpengn committed Aug 19, 2018
1 parent b81c793 commit b321979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<?php
} else {
function formatTime($date) {
$date = date_create('2018-08-03 05:35:23');
$date = date_create($date, timezone_open('Etc/Greenwich'));
date_timezone_set($date, timezone_open('Asia/Singapore'));
return date_format($date, 'H:m d M, Y');
}
Expand Down

0 comments on commit b321979

Please sign in to comment.