Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing bug causing output of "1 Years ago" #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fixing bug causing output of "1 Years ago" #1

wants to merge 1 commit into from

Conversation

yin-fod
Copy link

@yin-fod yin-fod commented Sep 10, 2015

No description provided.

@steam
Copy link
Contributor

steam commented Sep 10, 2015

Thanks @yin-fod! Would you mind adding a spec for this to the demo tests? https://github.com/ello/TimeAgoInWords/blob/master/Demo/DemoTests/TimeAgoInWordsSpec.swift

@@ -21,6 +21,7 @@ public struct TimeAgoInWordsStrings {
static var Day = NSLocalizedString("d", comment:"One day in time")
static var Days = NSLocalizedString("d", comment:"More than one day in time")
static var Months = NSLocalizedString("mth", comment:"More than one month in time")
static var Year = NSLocalizedString("y", comment:"one year in time")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a big deal, but for consistency it would be nice to capitalize "one".

@rynbyjn
Copy link
Contributor

rynbyjn commented Sep 10, 2015

Add a spec and we will get this merged 🤘

@@ -38,6 +39,7 @@ public struct TimeAgoInWordsStrings {
case "day": Day = value
case "days": Days = value
case "months": Months = value
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about month and months?

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.

4 participants