-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use the server timezone to parse the cron expression (#696)
- Loading branch information
Showing
9 changed files
with
70 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
{{define "base"}} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>{{navbarTitle}}</title> | ||
<script> | ||
function getConfig() { | ||
return { | ||
apiURL: "{{ apiURL }}", | ||
title: "{{ navbarTitle }}", | ||
navbarColor: "{{ navbarColor }}", | ||
version: "{{ version }}", | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>{{ navbarTitle }}</title> | ||
<script> | ||
function getConfig() { | ||
return { | ||
apiURL: "{{ apiURL }}", | ||
title: "{{ navbarTitle }}", | ||
navbarColor: "{{ navbarColor }}", | ||
version: "{{ version }}", | ||
timeZone: "{{ timeZone }}", | ||
}; | ||
} | ||
} | ||
</script> | ||
<script defer="defer" src="/assets/bundle.js?v={{ version }}"></script> | ||
</head> | ||
<body> | ||
{{template "content" .}} | ||
</body> | ||
|
||
</script> | ||
<script defer="defer" src="/assets/bundle.js?v={{ version }}"></script> | ||
</head> | ||
<body> | ||
{{template "content" .}} | ||
</body> | ||
</html> | ||
{{ end }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
title: '', | ||
navbarColor: '', | ||
version: '', | ||
timeZone: '', | ||
}; | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters