commit | ed96f8bb4d571ba8dc3d78bef68a3500ca494a83 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Thu Apr 19 15:33:40 2018 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Fri May 04 13:02:16 2018 -0500 |
tree | 217ec501d6ab94b5faa02e74ee185352719f4f72 | |
parent | 3490c0fc0a70f97efff955ad0da72386e619e50a [diff] |
Get the BMC time Get the BMC time from xyz/openbmc_project/time/bmc. This time is in epoch time so convert. Before the time and date hardcoded. From https://docs.angularjs.org/api/ng/filter/date: "'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 PM)" This is a similar format as to what was present on the GUI before for en_US. Letting the browser choose the format, is important. Displayed in user's timezone. Resolves openbmc/openbmc#3116 Tested: Now see correct date and time, "4/19/2018, 20:31:18 UTC" Change-Id: Ie30c65b038b58afc8c4c77ca5b70667e80e76cc6 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
TODO: Write a project description
nodejs npm
npm install
npm run-script server
This will run it locally in http://localhost:8080
.
https://<bmc-ip>
and bypass the secure warning. You will see a JSON response with Login required
message.http://localhost:8080
. Enter the BMC IP, Username and Password (defaults: root
/0penBmc
).Now you are logged in.