Date_t violates server naming conventions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      According to the server style guidelines,

      Use camelCase for most varNames. Use ProperCase for names of classes and structs. Use camelCase for instances of such classes.

       

      However, at least three other classes exist with the name Date.

      src/mongo/db/exec/document_value/document_value_test.cpp:1155:class Date {
      src/mongo/db/pipeline/expression_test.cpp:441:class Date : public SingleOperandBase {
      src/mongo/db/query/datetime/date_time_support.cpp:642:struct Date { 

      These entities should be unified under clear new names.

            Assignee:
            Blake Oler
            Reporter:
            Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: