diff options
| author | Artem Kozaev <[email protected]> | 2020-11-27 17:55:17 +0300 |
|---|---|---|
| committer | Artem Kozaev <[email protected]> | 2020-11-27 17:55:17 +0300 |
| commit | 93ecd05c7ad587a60361b042ab9d692391e40e3b (patch) | |
| tree | 3c4b6ec016eae8c4e795184e222be1468ddc6171 /lib/axlsx/util/validators.rb | |
| parent | e4aeec68c8b7bb699db876df375a1e98187b21ac (diff) | |
| download | caxlsx-93ecd05c7ad587a60361b042ab9d692391e40e3b.tar.gz caxlsx-93ecd05c7ad587a60361b042ab9d692391e40e3b.zip | |
Allow to set cell type to `date`
Diffstat (limited to 'lib/axlsx/util/validators.rb')
| -rw-r--r-- | lib/axlsx/util/validators.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/util/validators.rb b/lib/axlsx/util/validators.rb index 76ee2250..f1bf0ffc 100644 --- a/lib/axlsx/util/validators.rb +++ b/lib/axlsx/util/validators.rb @@ -269,7 +269,7 @@ module Axlsx # valid types must be one of custom, data, decimal, list, none, textLength, time, whole # @param [Any] v The value validated def self.validate_data_validation_type(v) - RestrictionValidator.validate :data_validation_type, [:custom, :data, :decimal, :list, :none, :textLength, :time, :whole], v + RestrictionValidator.validate :data_validation_type, [:custom, :data, :decimal, :list, :none, :textLength, :date, :time, :whole], v end # Requires that the value is a valid sheet view type. |
