Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Different format for transmission #124

Open
AshboDev opened this issue Jan 24, 2018 · 1 comment
Open

Different format for transmission #124

AshboDev opened this issue Jan 24, 2018 · 1 comment

Comments

@AshboDev
Copy link

Hello,

When using the plugin I'm aware we can use format: dd/mm/yyyy.

Would you consider adding in another option which allows the date to be sent (In post requests etc) to be different to the format which is in the text input? For example:

$().datepicker({
    format: 'dd/mm/yyyy', // For us UK folks!
    transmissionFormat: 'yyyy-mm-dd', // For post requests
});

Thanks,
Ash

@Gataquadrada
Copy link

Check #161.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants