Skip to content
This repository was archived by the owner on Feb 14, 2019. It is now read-only.
This repository was archived by the owner on Feb 14, 2019. It is now read-only.

Missing daysMin option in formatDate function #710

Open
@basepack

Description

@basepack

Hi,

I wanted to show a date like this: Mo 12/11/2017. However that seems not possible when I inspect the
formatDate() function.

This row is never to be called:

var dates = $.fn.datetimepicker.dates = {
/**/
daysMin:     ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'],
/**/   
}

daysShort on the other hand is possible:

formatDate:       function (date, format, language, type, timezone) {
/**/   
          D:    dates[language].daysShort[date.getUTCDay()],
/**/   
}

Maybe it is an idea to add daysMin to the options in formatDate()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions