mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-08 15:27:27 +02:00
updated jsvm types and godoc list formatting
This commit is contained in:
1 parent
67fa47b1bb
commit
fef6e584b7
2 files changed
+2923
-2923
No files matched your search
@@ -84,11 +84,11 @@ var macros = map[string]string{
|
||||
// - list: 1,2,3,10-20/n
|
||||
//
|
||||
// The following macros are supported:
|
||||
// - @yearly (or @annually)
|
||||
// - @monthly
|
||||
// - @weekly
|
||||
// - @daily (or @midnight)
|
||||
// - @hourly
|
||||
// - @yearly (or @annually)
|
||||
// - @monthly
|
||||
// - @weekly
|
||||
// - @daily (or @midnight)
|
||||
// - @hourly
|
||||
func NewSchedule(cronExpr string) (*Schedule, error) {
|
||||
if v, ok := macros[cronExpr]; ok {
|
||||
cronExpr = v
|
||||
|
||||
Reference in new issue
Block a user