Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • jio jio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 18
    • Merge requests 18
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • nexedinexedi
  • jiojio
  • Merge requests
  • !26

jiodate: fixes tests in older firefox versions

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Douglas requested to merge Camata/jio:master into master Jun 26, 2016
  • Overview 1
  • Commits 1
  • Changes 1

Tests were failing because some Firefox versions cannot parse a specific date-string. So the Date constructor that receives only integers was used. But there is one detail: this contructor uses months from 0 to 11, so if, for example, we want to have a date in January, we send 0 as month and not 1.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7