Commit 0088420a authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'fix-calendar-spec' into 'master'

Changed zero padded days to no padded days in date_format

## What does this MR do?
Changed zero padded days to no padded days in date_format so that calendar spec tests will pass.

Specs were failing because it was looking for `Saturday Oct 01, 2016` when it should have been looking for `Saturday Oct 1, 2016`

## Are there points in the code the reviewer needs to double check?
None

## Why was this MR needed?
Fixes failing test

## Screenshots (if relevant)
None

## Does this MR meet the acceptance criteria?

- Tests
  - [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?
Closes #22861

See merge request !6634
parents 60b92c55 89e66312
......@@ -5,7 +5,9 @@ feature 'Contributions Calendar', js: true, feature: true do
let(:contributed_project) { create(:project, :public) }
date_format = '%A %b %d, %Y'
# Ex/ Sunday Jan 1, 2016
date_format = '%A %b %-d, %Y'
issue_title = 'Bug in old browser'
issue_params = { title: issue_title }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment