how can I set Date format
See original GitHub issueI have already read source
if (locals.config.format) { formattedValue = locals.config.format(locals.value); }
but my function need pass two arguments, for example:formatDate(“yyyy-mm-d h:f:s”,“Tue Jul 5 2016 10:04:52 GMT+0800 (中国标准时间)”), because my form is dynamically generated, every date format is different。 how can I do it?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
How to Change Date and Time Format in Windows 10
How to Change Date and Time Formats in Settings · Open settings. Press the Start button, then click the settings cog, above the...
Read more >How to Change the Date and Time Format in Windows
To change the date format, click on Short date and Long date drop-down menus to display the list of available options. Choose any...
Read more >How to Change the Date and Time Format on Windows
Right-click the time and date in the bottom-right corner of the taskbar and select Adjust date and time. · Scroll down and select...
Read more >How to change Excel date format and create custom ...
Select the cell with a date in Excel, press Ctrl+1 to open the Format Cells window and switch to the General tab. If...
Read more >How to change date and time formats on Windows 10
Under format click the Change date and time formats link. · Use the Short name drop-down menu to select the date format you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@alvaromb Thanks for reply, after you reply i again tested code and it start working, i didn’t know what was actual reason. But now it is working and HERE IS WORKING EXAMPLE
I had used momentjs for formating date I will be glad if this example helps someone Thanks very much @alvaromb
Currying?