jenkinsci / jenkinsci/syslog-java-client
RFC 3164 dates with single digit day should pad with ` ` instead of `0`
- Dominant language
- Java
- Stars
- 91
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
Actual: `Aug 07 16:53:16`
Expected: `Aug 7 16:53:16`
https://tools.ietf.org/html/rfc3164#page-10
```
4.1.2 HEADER Part of a syslog Packet
...
The TIMESTAMP field is the local time and is in the format of "Mmm dd
hh:mm:ss" (without the quote marks) where:
Mmm is the English language abbreviation for the month of the
year with the first character in uppercase and the other two
characters in lowercase. The following are the only acceptable
values:
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
dd is the day of the month. If the day of the month is less
than 10, then it MUST be represented as a space and then the
number. For example, the 7th day of August would be
represented as "Aug 7", with two spaces between the "g" and
the "7".
...
```
Contributor guide
Assessment
This issue has not been assessed yet.