Skip to content

Removed time.js legacy #61

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

Merged
merged 1 commit into from
Mar 3, 2015
Merged

Removed time.js legacy #61

merged 1 commit into from
Mar 3, 2015

Conversation

snaterlicious
Copy link
Contributor

As Wikibase switched to back-end parsing a while ago, there is no use in further maintaining the ever broken time.js component providing front-end parsing and formatting. This pull request integrates all "vital" parts of the time.js component directly into dataValues.TimeValue that may be interacted with directly now instead of having to retrieve a time.Time object from it first.
Note: ValueView needs to be adjusted (change is ready to be submitted).

https://phabricator.wikimedia.org/T89243

@tobijat
Copy link
Member

tobijat commented Mar 2, 2015

@JeroenDeDauw
Copy link
Contributor

2 kloc less to maintain. +1 :)

@adrianheine
Copy link
Contributor

Nice.

adrianheine added a commit that referenced this pull request Mar 3, 2015
Removed time.js legacy
@adrianheine adrianheine merged commit c4d163a into master Mar 3, 2015
@adrianheine adrianheine deleted the timejs branch March 3, 2015 08:33
*/
SELF.CALENDARS = {
GREGORIAN: {
text: 'Gregorian',
Copy link
Contributor

Choose a reason for hiding this comment

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

I would have called this "key" and made it lowercase. But I see that this is not new, it was like this before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants