alchemy_cms 7.4.7 → 7.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of alchemy_cms might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9754354a6b9530ecde9ada3fa1e44591860745eb64698b3d0e5401c414225bc6
4
- data.tar.gz: 105995a8e3db31e893fdeea3426b9f02c25384add19cb579fc93aab9f7d44802
3
+ metadata.gz: 1833c29088de357bd3b28c8054bee0b0a718508df4e1649e5652d6ae2bc2a5c8
4
+ data.tar.gz: c03b780f7391b547f82f23988b8ce664e98d8aa138ffd76336e1116e019c6545
5
5
  SHA512:
6
- metadata.gz: 9aa9d02d5af4b97d2083b3756575d5eff12378efbb777094140122959476f1dcca618482d371f120356ce9146325d30f6da1185b451b4bb2f33e4f528bf20a0e
7
- data.tar.gz: e7c5e0e08f8b337a1e38ac437ed593b19d14d0ac1db2d6d7782572ba4ba94f94f270f994c2b38f212b3e44d4191fa72af8f7c907d9a11d7b930fac9d176a5d6c
6
+ metadata.gz: 5aa3d987ae97d97b583186ac049068a673cbd7dc390e9472b923f422ee1a9000dd6b6ae16a349d3ccb0c1d9f2cb9ab8cf7bf6109a8e32918c8a13812913c60ba
7
+ data.tar.gz: 420ec863cdd752f399e19d7bc7e0061acbb6d456051777732515d79121b53cb2d19dcc61e29a6baed5733ca42921c6d8adef912124ea82151d8a4a4c2cfee1a3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.4.8 (2025-08-15)
4
+
5
+ - [7.4-stable] fix(DatetimeView): Use settings value if present [#3350](https://github.com/AlchemyCMS/alchemy_cms/pull/3350) ([alchemycms-bot](https://github.com/alchemycms-bot))
6
+
3
7
  ## 7.4.7 (2025-07-22)
4
8
 
5
9
  - [7.4-stable] Harden picture descriptions integration spec [#3342](https://github.com/AlchemyCMS/alchemy_cms/pull/3342) ([alchemycms-bot](https://github.com/alchemycms-bot))
@@ -1,13 +1,15 @@
1
1
  module Alchemy
2
2
  module Ingredients
3
3
  class DatetimeView < BaseView
4
+ DEFAULT_DATE_FORMAT = :"alchemy.default"
5
+
4
6
  attr_reader :date_format
5
7
 
6
8
  # @param ingredient [Alchemy::Ingredient]
7
9
  # @param date_format [String] The date format to use. Use either a strftime format string, a I18n format symbol or "rfc822". Defaults to "time.formats.alchemy.default".
8
- def initialize(ingredient, date_format: :"alchemy.default", html_options: {})
10
+ def initialize(ingredient, date_format: nil, html_options: {})
9
11
  super(ingredient)
10
- @date_format = settings_value(:date_format, value: date_format)
12
+ @date_format = settings_value(:date_format, value: date_format) || DEFAULT_DATE_FORMAT
11
13
  end
12
14
 
13
15
  def call
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "7.4.7"
4
+ VERSION = "7.4.8"
5
5
 
6
6
  def self.version
7
7
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.4.7
4
+ version: 7.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen