mapbox / mapbox/dbf

Date support

Open
#19 19 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
42
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to have javascript `date` support? From the source of `structure.js` it looks like it is at least partially supported, but is there anything blocking having the `fields.js` script resolve `date` types in addition to `number`s, `string`s, and `boolean`s?

Willing to submit a PR, but didn't want to waste my time if it wasn't possible/desired.

Contributor guide

Open the contributing guide

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.

Research direction

Start by comparing the date handling visible in structure.js with the type resolution in fields.js. Determine the expected JavaScript date representation and any remaining blockers, then confirm that fields.js resolves date types alongside numbers, strings, and booleans.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.