Skip to content

Add an analyzer to ban implicit conversions between DateTime and DateTimeOffset. #181

Description

@ascott18

This has bit me too many times. Behavior will often times appear correct during local development when all code is running in the same time zone, but then fails in deployed environments if for example a web server's time zone is UTC.

See also:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions