$function(){
    const myName = argv.shift()
    var opt = Fossil.extendProperties(object{
        localTime: false
    }, argv.0 || object{})
    const out = this.out
    $out {This is a widget. argv=} argv
    //throw argv
    $out "<br/>Current " (opt.localTime ? "local" : "GMT") " server time: "
    $out strftime(" %Y-%m-%d %H:%M:%S", -1, opt.localTime)
}.apply api.cgi api.cgi.WIDGET_RENDER_ARGS
