mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-27 02:59:47 +02:00
WIP: make code compatible with new SILK API
All checks were successful
gitea-sync/antd-web-apps/pipeline/head This commit looks good
All checks were successful
gitea-sync/antd-web-apps/pipeline/head This commit looks good
This commit is contained in:
@ -29,8 +29,8 @@
|
||||
<span><?=entry.subtitle?></span>
|
||||
<span class="date">
|
||||
<?lua
|
||||
if entry["start"]:match("^20%d.*") and entry['end']:match("^20%d.*") then
|
||||
echo(entry.start.."-"..entry['end'])
|
||||
if tostring(entry["start"]):match("^20%d.*") and tostring(entry['end']):match("^20%d.*") then
|
||||
echo("%d-%d",entry["start"],entry['end'])
|
||||
end
|
||||
?>
|
||||
</span>
|
||||
@ -71,8 +71,8 @@
|
||||
<span><?=entry.subtitle?></span>
|
||||
<span class="date">
|
||||
<?lua
|
||||
if entry["start"]:match("^20%d.*") and entry['end']:match("^20%d.*") then
|
||||
echo(entry.start.."-"..entry['end'])
|
||||
if tostring(entry["start"]):match("^20%d.*") and tostring(entry['end']):match("^20%d.*") then
|
||||
echo("%d-%d",entry["start"],entry['end'])
|
||||
end
|
||||
?>
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user