commit | c17b438a587931c3d6f3dd7f6d532f841de67b08 | [log] [tgz] |
---|---|---|
author | Manojkiran Eda <manojkiran.eda@gmail.com> | Tue Jun 10 11:22:04 2025 +0530 |
committer | Manojkiran Eda <manojkiran.eda@gmail.com> | Tue Jun 10 12:13:24 2025 +0530 |
tree | 45d70ce1f576dca6c88158c75ded5b4ad8e02dca | |
parent | d6125fd143a0d1ad524902e0fed17c8ff60f981f [diff] |
Add UTC-aware timestamp format with usec precision - Replaced time.ctime(), which formats time in local timezone with only seconds-level precision, with strftime(...) from datetime module to enable formatting with full microsecond precision and control over time zone representation. - Defaulted the time to display in UTC. - Introduced --localtime command-line option to print timestamp in local timezone. - Ensured timestamps match journalctl -o short-precise format (e.g., Jun 10 04:53:00.966670). Change-Id: I468c980ab9e3d9aaa391bb7ec6d663e6448b14ff Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
The goal of this repository is to collect the two-minute hacks you write to automate interactions with OpenBMC systems.
It's highly likely the scripts don't meet your needs - they could be undocumented, dysfunctional or utterly broken. Please help us improve!
Then this repository aims to be the default destination for your otherwise un-homed scripts. As such we are setting the bar for submission pretty low, and we aim to make the process as easy as possible.
Please use gerrit for all patches to this repository:
Do note that you will need to be party to the OpenBMC CLA before your contributions can be accepted. See Gerrit Setup and CLA for more information.
So long as your patches look sane with a cursory glance you can expect them to be applied. We may push back in the event that similar tools already exist or there are egregious issues.
We don't ask for much, but you need to give us at least a Signed-off-by, use SPDX markers in your source files and put your work under an Apache 2.0 compatible license.
There's no standard way to install the scripts housed here, and adding parts of the repository to your PATH might be a bit of a dice-roll. We may also move or remove scripts from time to time as part of housekeeping. It's probably best to copy things out if you need stability.