updates for events

This commit is contained in:
2023-05-21 14:35:55 -07:00
parent 17a406e546
commit 2dd300f4dc
8 changed files with 81 additions and 66 deletions

View File

@@ -16,6 +16,7 @@ import { render_json_schema_files } from './jsonschema';
import { write_sitemap_if_needed } from './sitemap';
import { write_rss_if_needed } from './rss';
import { write_events_and_calendars_if_needed } from './icalendar';
import { as_context_time, as_html_time } from '../time';
export { BuildState, ThemeGroups } from './state';
@@ -61,10 +62,7 @@ export async function build_docs_project(conf: Config) {
sitemap: [ ],
events: [ ],
calendars: [ ],
build_time: {
iso: now.toISO(),
rfc2822: now.toRFC2822(),
},
build_time: as_context_time(now),
};
for (const theme of Object.values(themes)) {