os.date = nil
まだ誰も着手していません。
評価
調査の方向性
The report says os.date('%y.%m.%d') evaluates to nil in go-lua, while the reference Lua 5.3 returns a formatted date string. Start by running the snippet in go-lua and checking whether the os table exposes a date entry at all. Done means the call returns a strftime-style string matching the reference output for those format specifiers. The issue has no linked pull request and no maintainer reply, so confirm the current behaviour before starting.
索引モデルが issue の本文から書いたものです。
説明
This line in an old Lua script of mine has never produced an error in any version of Lua, but in go-lua to gives me a "nil value" error
version = os.date('%y.%m.%d')
P.S. Tried it in the Lua command line tool too :)
Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio
> version = os.date('%y.%m.%d')
> =version
17.12.15
>
- 主要言語
- Go
- スター
- 3.5k
- フォーク
- 217
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Shopify/go-lua のほかの issue
-
Numeric modulo fast path disagrees with Lua 5.2 and the library fallback for negative operands対応中かも @efegokdemir が 35 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
io.write discards spaces after trailing numbers対応中かも @flynn-eye が 25 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
State.close leaves closed upvalues in the open list, so calls get slower without bound対応中かも @efegokdemir が 17 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
limitlessprojects/Go-Hybrid#4764 ·
メンテナーはふだん 1 日以内に返信
-
[bug]: lint fails on main, generated CLI docs out of date対応中かも @bupd が今日担当しました。 オープンbug documentation
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
goharbor/harbor-cli#1180 ·
メンテナーはふだん 1 日以内に返信
-
crane: mutate --env adds duplicate PATH on Windows images when key case differs対応中かも @aad1tyaaaaa が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
google/go-containerregistry#2523 ·
メンテナーはふだん 4 日以内に返信
-
bosh_io_stemcell_type: regular does not work for noble and resolute as it adds -go_agent as suffixオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
cloudfoundry/bosh-deployment-resource#138 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100