https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206752

Jilles Tjoelker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Jilles Tjoelker <[email protected]> ---
The behaviour is indeed strange, but I don't think resetting the day of the
month to 1 whenever -j and -f are used together is correct. Commands like date
-j -f %H:%M:%S 00:00:00 should still print midnight of the current day, not of
the first of the month. Likewise, the date(1) man page (by referring to
strftime(3)) seems to suggest that nonexistent days like 30 February are
converted to something in March.

You can specify the day of the month (%d) as 1 in your script.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to