Skip to content

Make en_short consistent with other sites - #128

Merged
andresaraujo merged 2 commits into
andresaraujo:null_safetyfrom
glacials:patch-2
Jan 5, 2021
Merged

andresaraujo merged 2 commits into
andresaraujo:null_safetyfrom
glacials:patch-2

Conversation

@glacials

Copy link
Copy Markdown
Contributor

This applies three changes to en_short:

  1. Removes spaces between numbers and units, so that "1 h" becomes "1h"
  2. Shortens "min" to "m", so that "1 min" becomes "1m" (month remains as "mo")
  3. Shortens "yr" to "y", so that "1 yr" becomes "1y"

I made these changes because this is what I've witnessed to be the standard on the rest of internet:

Facebook:
facebook

Twitter:
twitter

LinkedIn:
linkedin

Venmo:
venmo

Feel free to reject some or all changes if this doesn't match with the direction you want, I'll be happy to revert individual parts.

This applies three changes to en_short:

1. Removes spaces between numbers and units, so that "1 h" becomes "1h"
2. Shortens "min" to "m", so that "1 min" becomes "1m" (month remains as "mo")
2. Shortens "yr" to "y", so that "1 yr" becomes "1y"

I made these changes because this is what I've witnessed to be the standard on the rest of internet. This format is used by Facebook, Twitter, LinkedIn, Venmo, and others.

Feel free to reject some or all changes if this doesn't match with the direction you want, I'll be happy to revert individual parts.
@kranfix

kranfix commented Dec 28, 2020

Copy link
Copy Markdown
Collaborator

@andresaraujo I agree with this. What do you think?

This is a breaking change, then we could add this feature in the null-safety version.

@andresaraujo

Copy link
Copy Markdown
Owner

Yeah I think this makes sense as default for the short version

@andresaraujo

Copy link
Copy Markdown
Owner

Agree on making this change into the null safe version as well

@andresaraujo
andresaraujo changed the base branch from master to null_safety January 5, 2021 22:38
@andresaraujo
andresaraujo merged commit 90c6a0b into andresaraujo:null_safety Jan 5, 2021
@glacials
glacials deleted the patch-2 branch January 6, 2021 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants