Skip to content

day_of_week year 0 bug #215

@andy-theia

Description

@andy-theia

Describe the bug
The day_of_week function returns the incorrect value for the first 60 days of year 0 (Jan 1 - Feb 29)

Provide the following:

  • Example:
  • dow = day_of_week(0,1,1)
  • ; dow = 0
  • Should return 6

Computing environment

  • OS: Mac
  • OS version: MacOS 14.3.1
  • NCL Version: 6.6.2
  • Installation method: conda

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions