Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set time format to 12h? #28

Closed
stevehoek opened this issue Oct 11, 2020 · 3 comments
Closed

How to set time format to 12h? #28

stevehoek opened this issue Oct 11, 2020 · 3 comments
Labels
question Further information is requested

Comments

@stevehoek
Copy link

Using the latest homebridge-raspbian and cannot figure out how to get the logs displays in Homebridge Config-UI-X to be in 12h format. Various searches point me to the underlying Linux configuration, but not sure how to access that in Raspbian because all searches find are instructions for how to change it in the Raspbian GUI's digital clock.

@stevehoek stevehoek added the question Further information is requested label Oct 11, 2020
@oznu
Copy link
Member

oznu commented Oct 11, 2020

The log timestamp format is not configurable - it is provided directly from the homebridge process.

When Node.js 14 is released later this month, the time stamps will use your the format preferred by your current locale.

@oznu oznu closed this as completed Oct 11, 2020
@stevehoek
Copy link
Author

That's strange since on my Homebridge Pi using this image it is 24h, but at another location I have Homebridge running in a QNAP container using your latest Docker image, and there the log format is 12h

@oznu
Copy link
Member

oznu commented Oct 11, 2020

That may be differences in how Node.js compiled for different platforms - before v14 the date localisations had to be explicitly enabled to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants