Word plug-in does not insert "n.d."
                    The word plug-in with "Frontiers in Education" selected as the style produces
– (Author, 2000) for references with a date and
– (Author) [without "n.d."] for references without a date.
If I understood right (https://www.frontiersin.org/guidelines/author-guidelines#harvard-reference-style), "Frontiers in Education" is based on "Chicago Manual of Style (author-date)" [which I also don't know].
"Chicago Manual of Style 17th edition (author-date)" produces (Author 2000) and (Author n.d.) [without a comma]. Which seems to be correct (https://www.chicagomanualofstyle.org/tools_citationguide/citation-guide-2.html).
So I think, that there are two mistakes in "Frontiers in Education":
1) A falsely comma in (Author, 2000) and
2) A missing " n.d." in (Author).
I'm not sure, if there are any differences between the multiple Frontiers styles and "Chicago Manual of Style 17th edition (author-date)" or "Vancouver". Or have been in 2017. Maybe just all Frontiers styles "should" be removed?
                            – (Author, 2000) for references with a date and
– (Author) [without "n.d."] for references without a date.
If I understood right (https://www.frontiersin.org/guidelines/author-guidelines#harvard-reference-style), "Frontiers in Education" is based on "Chicago Manual of Style (author-date)" [which I also don't know].
"Chicago Manual of Style 17th edition (author-date)" produces (Author 2000) and (Author n.d.) [without a comma]. Which seems to be correct (https://www.chicagomanualofstyle.org/tools_citationguide/citation-guide-2.html).
So I think, that there are two mistakes in "Frontiers in Education":
1) A falsely comma in (Author, 2000) and
2) A missing " n.d." in (Author).
I'm not sure, if there are any differences between the multiple Frontiers styles and "Chicago Manual of Style 17th edition (author-date)" or "Vancouver". Or have been in 2017. Maybe just all Frontiers styles "should" be removed?
 Upgrade Storage
We usually go by typeset papers. If you look at recently published papers you can clearly see a comma. E.g.
"...electron shells or orbitals (Taber, 2005; Stefani and Tsaparlis, 2009) but n..."
See: https://www.frontiersin.org/articles/10.3389/feduc.2022.1034140/full
2. n.d.
The guidelines are relatively short and looking at a bunch of papers I didn't see "n.d." anywhere. If you happen to have an example where that's used (ideally open access), please do share.
https://www.frontiersin.org/guidelines/author-guidelines#references
https://www.frontiersin.org/articles/10.3389/feduc.2022.959215/full
Have a go with this style: https://github.com/citation-style-language/styles/raw/69a936a029e7c9e97e8aee6f8ae67d4c15fa1629/frontiers.csl