Beakerboy / Beakerboy/VBA-SQL-Library
SQLHelperFunctions — wrong Format masks in toISO
- 主要言語
- VBA
- スター
- 90
- フォーク
- 18
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
SQLHelperFunctions: correct toISO Format masks (mm vs nn)
- Component: `src/Modules/SQLHelperFunctions.bas` (top)
### Problem
- Uses month/minute masks incorrectly; minutes display as month.
### Snippet (actual)
```vb
Public Function toISO(dt) As String
toISO = Format(dt, "YYYY-MM-DD") & "T" & Format(dt, "HH:MM:SS")
End Function
```
### Expected
```vb
Public Function toISO(dt) As String
toISO = Format(dt, "yyyy-mm-dd") & "T" & Format(dt, "hh:nn:ss")
End Function
```
### Steps to Reproduce
1) Print `toISO(Now)` and compare minutes field.
### Actual
- Minutes are incorrect.
### Proposed Fix
- Use `mm` for month and `nn` for minutes.
---
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
src/Modules/SQLHelperFunctions.bas を開き、先頭にある toISO 関数を調べます。Print toISO(Now) で問題を再現し、その後、出力の月フィールドと分フィールドが想定されるマスクを使用し、ISO 形式の出力と一致することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- sql, visualbasic
- 領域
- databases
- issue の種類
- バグ
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 55/100