Skip to content

Allow changing date and time formats #25

@colindean

Description

@colindean

As of v0.1.0, c-m-i uses server locale for its date and time settings. In my case, this is "America/Chicago", which produces MM/DD/YYYY dates and 12-hr times. I want ISO-8601 YYYY/MM/DD and 24-hour times.

I see where the title is set:

title: `Agenda for ${date.toLocaleString()}`,

but there's not a clear way to set a locale in this context. I suspect that I could set an environment variable, but I'm not sure which other than trying LC_TIME and trying en_DK or en_SE or eo to get ISO-8601 date and 24-hr time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions