Skip to content
Commit 871e7115 authored by Toralf Wittner's avatar Toralf Wittner
Browse files

Change `setFormat` to accept `Maybe DateFormat`.

Commit 5cf41025 introduced a bug which
prevented client code from being able to clear the date format in
settings. By implicitly wrapping the argument in a `Just` the actual
timestamp rendering kicked in which produced an empty field in the log
output.

This commit fixes this behaviour by changing `setFormat` to take a
`Maybe DateFormat` parameter. Client code can pass in `Nothing` to
disable timestamps.
parent bf470176
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment