History log of /plugin/struct/types/Date.php (Results 1 – 25 of 25)
Revision Date Author Comments
# 7fe2cdf2 13-Sep-2023 Andreas Gohr <andi@splitbrain.org>

apply #670 and manually cleanup afterwards

fixes some failing tests
uses sexplode over array_pad
reformats multiline arrays


# 7234bfb1 13-Sep-2023 splitbrain <splitbrain@users.noreply.github.com>

�� Automatic code style fixes


# 0549dcc5 13-Jan-2022 Andreas Gohr <andi@splitbrain.org>

PHP code sniffer autofixes


# d6d97f60 09-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Automatic coding style fixes


# d8bfcd03 30-Sep-2019 Anna Dabrowska <dabrowska@cosmocode.de>

Add missing translations


# 733fd33b 18-Sep-2019 Anna Dabrowska <dabrowska@cosmocode.de>

Clearer names of date constraints


# 218490cf 17-Sep-2019 Anna Dabrowska <dabrowska@cosmocode.de>

Add past and future date(time) constraints


# 34f483db 04-Jan-2018 Randolf Rotta <rrotta@informatik.tu-cottbus.de>

use HTML5 date and datetime-local inputs with jquery as fallback, make the year easier to edit


# 3e7a5b3c 13-Jun-2017 Michael Große <grosse@cosmocode.de>

Refactor to use buildAttributes -> cleaner code


# ee983135 02-Jun-2017 Michael Große <grosse@cosmocode.de>

Fix multiple inputs in one label: it's invalid ��

Multiple inputs within a single label in invalid HTML. This bug can not
only occur in multi-fields but also in plugin-provided single fields
which m

Fix multiple inputs in one label: it's invalid ��

Multiple inputs within a single label in invalid HTML. This bug can not
only occur in multi-fields but also in plugin-provided single fields
which may contain multiple input-fields which are then only combined by
javascript.

Thus, we provide an id which every type can assign to the edit-field
best suited. For multi-types this is usually the new-input-template.

Fixes #292

show more ...


# 9d461ec6 24-Aug-2016 Andreas Gohr <andi@splitbrain.org>

Merge pull request #166 from cosmocode/bug140

Always use raw values for editors


# c0230d2c 24-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

Always use raw values for editors

This is another attempt to fix #140. The valueEditor() and
multiValueEditor() now always expect raw values to be passed. The Value
class was adjusted accordingly. I

Always use raw values for editors

This is another attempt to fix #140. The valueEditor() and
multiValueEditor() now always expect raw values to be passed. The Value
class was adjusted accordingly. It now allows to set the raw value
(which is what we get from POST). If done, the Value object is treated
as a rawonly Value that will throw an exception when you try to access
value or displayvalue.

show more ...


# 23169abe 23-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

Validation should happen on raw value

This just renames the parameter to make this more clear


# 8566ff89 28-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

Merge branch 'master' into revisioncol

* master:
Clean values in multiValueEditor, not in valueEditor


# 79d22ad4 27-Jul-2016 Michael Grosse <grosse@cosmocode.de>

Clean values in multiValueEditor, not in valueEditor

Since rawValue expects a single value it may not be able to handle
multiple concatinated values.

This caused an error for the pagetype in a mult

Clean values in multiValueEditor, not in valueEditor

Since rawValue expects a single value it may not be able to handle
multiple concatinated values.

This caused an error for the pagetype in a multi value field with
usetitles enabled.

show more ...


# 4978faf1 27-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

added DateTime tests


# 64454728 27-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

test Date type


# 4a2883e0 26-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

introduced DateTime Type

This is similar to Date but also accepts a time. Only uses a Date
picker, no time picker as we currently have none available.


# ba766201 28-Apr-2016 Andreas Gohr <gohr@cosmocode.de>

Use DokuWiki new autoloader for class files

No longer do we need to register our own autoloader. Namespace had to be
vendor prefixed.


# 9aad279d 17-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

allow date type to be prefilled when empty. closes #68


# 806eec82 16-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

allow validation to modify the value before saving


# 4d19af58 24-Feb-2016 Andreas Gohr <gohr@cosmocode.de>

clear outdated configs

When the type of a field is changed, the old config is now dropped if
not supported by the new type.


# 22dd50e7 22-Feb-2016 Michael Große <grosse@cosmocode.de>

Add docblock and limit explode to 3 values

SPR-323, GitHub Issue #6, PR #25


# 183c50ce 22-Feb-2016 Michael Große <grosse@cosmocode.de>

Move date settings to date type

However we use the ability to explain and link to documentation for this
option.

SPR-323, GitHub Issue #6, PR #25


# d2b31c9b 22-Feb-2016 Michael Große <grosse@cosmocode.de>

Add the date type

SPR-323, GitHub Issue #6