Skip to content

Commit 098d7ec

Browse files
committed
closes #887
1 parent 4c5697f commit 098d7ec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Franklin"
22
uuid = "713c75ef-9fc9-4b05-94a9-213340da978e"
33
authors = ["Thibaut Lienart <[email protected]>"]
4-
version = "0.10.55"
4+
version = "0.10.56"
55

66
[deps]
77
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"

src/manager/sitemap_generator.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ struct SMOpts
1414
changefreq::String # one of...
1515
priority::Float64 #
1616
function SMOpts(l, c, p)
17+
if l == Date(1)
18+
l = Date(now())
19+
end
1720
c = lowercase(c)
1821
p = isa(p, String) ? parse(Float64, p) : float(p)
1922
allowedf = ("always", "hourly", "daily", "weekly", "monthly",

0 commit comments

Comments
 (0)