linuxserver / fleet

Status and image fleet metadata management application for Docker images
GNU General Public License v3.0
143 stars 11 forks source link

Bugfix for parsing DockerHub dates #6

Closed JoshStark closed 5 years ago

JoshStark commented 5 years ago

The date-time format for tags in the DockerHub API is wildly variable so an explicit format string is not sufficient to parse them. Thankfully (something I should have spotted before) Java's DateTimeFormatter provides a default formatter with a leniency on the milliseconds.