10

When editing an experience's Time Frame I get few issues:

1.In the Month drop down list, 'January' is not there. This is the generated markup

<select class="date" data-val="true" data-val-number="The field StartMonth must be a number." id="StartMonth" name="StartMonth"><option value="0"></option>
<option value="1">February</option>
<option value="2">March</option>
<option value="3">April</option>
<option value="4">May</option>
<option selected="selected" value="5">June</option>
<option value="6">July</option>
<option value="7">August</option>
<option value="8">September</option>
<option value="9">October</option>
<option value="10">November</option>
<option value="11">December</option>
<option value="12"></option>
</select>

2.If I select, "June" here, in the profile page it shows "May" that is just one month earlier than what I've actually selected.

i've taken the screenshots. please let me know if submitting those will help.

4
  • 2
    Someone started the for loop at 1 instead of 0... rolls eyes
    – animuson StaffMod
    Nov 11, 2012 at 5:41
  • then, where is January? it should not be omitted. it could be set for 0. Nov 11, 2012 at 5:44
  • 1
    The array is likely [ 0 => January, 1 => February, 2 => March, ... ]. If you start the loop at 1 instead of 0, and go 12 spaces, you'll start at February, go through December, and then get a warning for trying to access element [12] which doesn't exist, which oddly looks like what's happening here. Note the actual value 0 at the top is used for the "not specified" option.
    – animuson StaffMod
    Nov 11, 2012 at 5:45
  • The list of month names has 13 values, and a recent refactor assumed the extra was at the front instead of the end.
    – mjibson
    Nov 12, 2012 at 4:48

1 Answer 1

2

This has been fixed. Thanks for the report.

3
  • i wanted to test it. when i hit 'save' after updating month, i'm redirected to this url 'careers.stackoverflow.com/cv/updatesection/…' and I am getting json response. Why? Nov 23, 2012 at 5:00
  • What browser/version are you using? Is javascript enabled?
    – mjibson
    Nov 23, 2012 at 5:32
  • Chrome 23x. Yes, it is enabled. Nov 23, 2012 at 8:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .