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

allow changing of the timestamp char code delimeter #1972

Merged
merged 1 commit into from Aug 21, 2017

Conversation

knight-of-ni
Copy link
Member

@knight-of-ni knight-of-ni commented Aug 20, 2017

fixes #1865

This PR allows one to change the timestamp code character, under Options -> Config, from the default "%" to anything the user wants. Note that it only affects ZoneMinder's builtin codes. This has no affect on the standard strftime codes.

As described in #1865, this is one way to address the issue of BSD operating systems handling the % character differently than their Linux counterpart.

I'm willing to hear alternative methods to fix this.

@schrorg @abishai
Please test this and provide feedback as I don't currently have any FreeBSD systems running zoneminder.

@schrorg
Copy link
Contributor

schrorg commented Aug 21, 2017

I will test this and report back, but it can take until the end of the week. Lots of other work to do here...

@knight-of-ni
Copy link
Member Author

Not a problem @schrorg
I don't have a timeline for this.

@connortechnology
Copy link
Member

I have no problem merging this, it is a simple fix.

@connortechnology connortechnology merged commit ac5d173 into ZoneMinder:master Aug 21, 2017
@knight-of-ni knight-of-ni deleted the change-code-char branch November 24, 2018 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timestamp Label Format (%N, %f, %Q) / behaviour of strftime() on FreeBSD
3 participants