Skip to content

Migrate or implement formatters from official datetime skill #198

@ChanceNCounter

Description

@ChanceNCounter

The official DateTime Skill currently contains some nifty get_x() functions for relevant information, most of which just expose things from Lingua Franca. Others retrieve info from LF and then mutate it a bit. Clever little formatters.

These are very useful to other Skills, and not only Skills! I became aware of them because @AIIX used them for home screen info. Anything that wants to display the date or a schedule could benefit, so I think LF should support that stuff directly. We're halfway there already with nice_time().

We could start by simply migrating the functions from the Skill and seeing if anything even needs further localization. At a glance, it looks like it's built around lingua_franca.format.date_time_format.

@chrisveilleux thoughts from the Skill side of things?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions