Skip to content

Date locale options #22

@CurtR95

Description

@CurtR95

Is your feature request related to a problem? Please describe.
When generating a new JSDoc with jsdoc-generator.includeDate enabled it uses American date format "mm/dd/yyyy", however, I code in both Japanese and British codebases, which use either "yyyy/mm/dd" or "dd/mm/yyyy", which requires a minor change on each generation.

Describe the solution you'd like
Ability to set the locale of the date format in the settings. I.e. a string in preferences which lists "mm/dd/yyyy"

Describe alternatives you've considered
I have considered editing the snippet directly or looking at basic snippets, but I miss features of this generator too much

Environment used

VSC version: 1.88.1
OS: Windows 10

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions