Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangmm committed Aug 31, 2019
1 parent bd837dd commit aae3b60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
project.name=AtomicWiki
project.version=0.6
project.version=0.7
4 changes: 2 additions & 2 deletions modules/app.xql
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ declare function app:publication-date-full($node as node(), $model as map(*)) {
else
xs:dateTime($model("feed")/atom:published)
return
format-dateTime($date, "[Y0001]/[M01]/[D01] at [H01]:[m01]:[s01] z")
format-dateTime($date, "[Y0001]/[M01]/[D01] at [H01]:[m01]:[s01] [Z]")
};

declare function app:updated-date-full($node as node(), $model as map(*)) {
Expand All @@ -293,7 +293,7 @@ declare function app:updated-date-full($node as node(), $model as map(*)) {
else
xs:dateTime($model("feed")/atom:updated)
return
format-dateTime($date, "[Y0001]/[M01]/[D01] at [H01]:[m01]:[s01] z")
format-dateTime($date, "[Y0001]/[M01]/[D01] at [H01]:[m01]:[s01] [Z]")
};

declare function app:publication-date($node as node(), $model as map(*)) {
Expand Down
2 changes: 1 addition & 1 deletion modules/gallery.xql
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ declare function gallery:build-gallery-edit-menu($node as node(), $model as map(
if ($config:slideshows-enabled = "true")
then
let $theme := theme:theme-for-feed(util:collection-name($model("feed")))
let $theme := substring-before($theme, "/_theme")
let $theme := replace(substring-before($theme, "/_theme"), "//", "/")
let $galleries :=
for $feed in collection($theme)/atom:feed
where
Expand Down

0 comments on commit aae3b60

Please sign in to comment.