squidpress-plugins 0.2.0 → 0.2.1
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.
- checksums.yaml +4 -4
- data/lib/squidpress-plugins/date_format.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 368db2de6d97807ed87cf4a0f188c2436ee02204930699b43bab4637dba8235c
|
|
4
|
+
data.tar.gz: 2a73b29837cea941254ee3625fa6f4200303d618f4f0eb799c24bb3b15d5cec0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 963bfa09c2f24e1f1205a4ea5ad816f9e120e4457958c849d3d21a4a67c596df097b29495a9cb7c660662dadc89ff33bb45b3a6f53d3693bfa4a1ae97fdf9818
|
|
7
|
+
data.tar.gz: 569ec4e2ba887e7d6c3efda598a22e0de48f7e3f904a286aed8ced84881c9dcf946d9457dd269515298bf0829ddb7f9a2bec478f4d70363ba3234f067b638291
|
|
@@ -12,8 +12,8 @@ module Squidpress
|
|
|
12
12
|
tag += "</time>"
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
def date_updated_html(date,
|
|
16
|
-
date_html(date,
|
|
15
|
+
def date_updated_html(date, date_format, time_format, time=true)
|
|
16
|
+
date_html(date, date_format, time_format, time).sub('entry-date','updated')
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def format_date(date, format, html=false)
|