mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
make strings object
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
var MicroSeconds = newNumber().SetInt64(1000000)
|
||||
|
||||
func ArTimeClass(N time.Time) ArObject {
|
||||
return Map(anymap{
|
||||
return Class(anymap{
|
||||
"__value__": newNumber().Quo(newNumber().SetInt64(N.UnixMicro()), MicroSeconds),
|
||||
"year": builtinFunc{
|
||||
"year",
|
||||
|
||||
Reference in New Issue
Block a user