sindresorhus/electron-store
$40.00Solve someone else's bounty request by clicking on it and completing the funding to earn additional credits















Do you want to work on this issue?
You can request for a bounty in order to promote it!
1 active bounty request
Support dates #18
sindresorhus posted onGitHub
Would be nice if you could store.set('foo', new Date())
and get back a Date
object when you do store.get('foo')
. Could probably make use of the second argument to JSON.parse()
. We need to save some kind of information to indicate that it's a native Date format. Maybe a separate __meta__
key or something. Suggestions welcome.
Fund this Issue
Only logged in users can fund an issue
Pull requests
Store and get Date objects #89submitted bysbencoding(114)
Support non-primitive values #154submitted byrichienb(180)
Recent activities