Today, I added a couple of tags, date and java-time to the question, SimpleDateFormat and TimeZone format to make it easier for someone searching for this type of question using these tags. A couple of minutes later, a veteran contributor commented on my answer on this page:
Just because you post an answer using
java.time
(which I think is appropriate, we hsould push towards using modern APIs) doesn't mean the question is related tojava.time
. I've undone the re-tagging.
Before posting this question, I went through What are tags, and how should I use them? to validate my understanding about tagging and it looks like adding those tags aligns with the purpose mentioned there. On the other hand, since this veteran contributor has 10 more years of experience on this platform than I have, it makes me confused regarding the concept of tagging. Therefore, my question is not regarding the justification of his feedback and action; rather, I want to understand it for the future. In other words, the question is not whether his feedback and action were right or wrong; rather it is regarding whether what I did (i.e. tagging the question with the relevant tags) was the right thing to do or I should not do it again.
java.time
, then sure, add the tag.java.time
I am sure, and you tagging java.time invalidates those options. Again, correct the tags for the question, not the answer (you have provided). For example, this answer doesn't usejava.time
; you tagging java.time means the answer is incorrect as it doesn't.