splitbrain / dokuwiki-plugin-bureaucracy

Create forms and generate pages or emails from them
http://www.dokuwiki.org/plugin:bureaucracy
GNU General Public License v2.0
43 stars 47 forks source link

Date field formatting ignored when integrated with struct schema #291

Closed vic-t closed 3 years ago

vic-t commented 3 years ago

In my DokuWiki, I have the following global date formatting setting:

%d.%m.%Y %k:%M

In a struct schema called project, I have one date field with the following configuration:

format: d.m.Y

I call the bureaucracy plugin like this:

<form>
  action template pattern:project projects:@@project.description@@
  struct_schema "project"
  submit "Create project"
</form>

Bureaucracy still shows the date field as d/m/Y.

Certainly not a critical issue. But it would be nice if bureaucracy would read the format field from the struct schema and format the date accordingly. Alternatively, a date formatting parameter would be nice.

Can you recommend a workaround in the meantime?

vic-t commented 3 years ago

I realize now it's more likely that this is a bug in the struct plugin and not bureaucracy...