captbaritone / captbaritone/datejs

Bad logic

Open
#158 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. Date.validateHour(25)
2. Date.validateMinute(25)

What is the expected output? What do you see instead?

They throw a RangeError if false. Errors are for catching unexpected behaviour.
False is not unexpected!

What version of the product are you using? On what operating system?
Current

Please provide any additional information below.

```

Original issue reported on code.google.com by `peter01....@gmail.com` on 16 Aug 2012 at 9:55

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.