Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

SQLHelperFunctions — wrong Format masks in toISO

Open
#67 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
sql, visualbasic
Domain
databases

Research direction

Open src/Modules/SQLHelperFunctions.bas and inspect the toISO function at the top. Reproduce the issue with Print toISO(Now), then verify the output's month and minute fields use the expected masks and match ISO-style output.

Written by the indexing model from the issue text.

Description

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)
Public Function toISO(dt) As String
    toISO = Format(dt, "YYYY-MM-DD") & "T" & Format(dt, "HH:MM:SS")
End Function
Expected
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.

Dominant language
VBA
Stars
90
Forks
18
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Beakerboy/VBA-SQL-Library

All issues in Beakerboy/VBA-SQL-Library

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.