cloud-fan edited a comment on pull request #28692:
URL: https://github.com/apache/spark/pull/28692#issuecomment-638147190


   > please also create a PR to explain what gets changed in the meaning of u 
in the migration guide.
   
   @bart-samwel maybe you were confused by this. The meaning was already 
changed when we switch to the java 8 formatter API. In the legacy formatter, 
`u` means `Day number of week (1 = Monday, ..., 7 = Sunday)`, which is number, 
in the new formatter, we replace `u` with `e`, but `e` is `localized 
day-of-week`, which is number/text.
   
   There is no such a pattern letter in the java 8 formatter API, which has the 
same meaning of the legacy `u`, the `e` is the closest. Parsing is OK as we ban 
all week-based pattern letters in parsing, see 
https://github.com/apache/spark/pull/28706


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to