system
Answer the questions
human
Correct the citation formatting for the following reference: "The impact of climate change on agriculture." by John Smith in the Journal of Environmental Science.

The reference is currently formatted as "John Smith, The impact of climate change on agriculture, Journal of Environmental Science."
gpt
The correct citation format is "Smith, J. (Year of publication). The impact of climate change on agriculture. Journal of Environmental Science."