Pretty sure it's guessing part of it, because when reading my example library code, we can see it's not outputting seconds and commas, so ChatGPT got the output wrong (and maybe the input too, depends on "moment" library).