In that example I see that the actual format is yyyy/mm/dd rather than yyyymmdd. I definitely don’t like the name yyyymmdd in that case; to me it suggests no separators. (I might advocate for switching to yyyy-mm-dd and using a name like currentDate_iso8601, though that’s a bit unwieldy.)
In that example I see that the actual format is
yyyy/mm/dd
rather thanyyyymmdd
. I definitely don’t like the nameyyyymmdd
in that case; to me it suggests no separators. (I might advocate for switching toyyyy-mm-dd
and using a name likecurrentDate_iso8601
, though that’s a bit unwieldy.)Ah. I didn’t even notice that but that’s a great point. I also think that
yyyymmdd
suggests no separators.