Skip to main content
Issue: Using lightning component tag "<ui:inputDateTime aura:id="today" label="Time" class="field" value="" displayDatePicker="true" format="M/D/YYYY"/>" Datetime format is not reflecting based on locale for en_US locale but working for other locale format.

Expected:6/28/2018

Actual: Jun 28, 2018
1 risposta
  1. 2 lug 2018, 01:43
    Specify the langLocale ='en_Us' it will work 

    Or Use $Locale.langLocale to get the local and set to the UI ..
0/9000