Explorar o código

PR992 [editor] Use ascii hyphen instead of EN DASH (U+2013) in date_format desc (#992)

10sr %!s(int64=6) %!d(string=hai) anos
pai
achega
66f6b281bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/src/desktop/js/sql/sqlFunctions.js

+ 1 - 1
desktop/core/src/desktop/js/sql/sqlFunctions.js

@@ -1926,7 +1926,7 @@ const SqlFunctions = (function() {
         signature: 'date_format(DATE|TIMESTAMP|STRING ts, STRING fmt)',
         draggable: 'date_format()',
         description:
-          "Converts a date/timestamp/string to a value of string in the format specified by the date format fmt (as of Hive 1.2.0). Supported formats are Java SimpleDateFormat formats  https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html. The second argument fmt should be constant. Example: date_format('2015-04-08', 'y') = '2015'."
+          "Converts a date/timestamp/string to a value of string in the format specified by the date format fmt (as of Hive 1.2.0). Supported formats are Java SimpleDateFormat formats - https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html. The second argument fmt should be constant. Example: date_format('2015-04-08', 'y') = '2015'."
       },
       date_sub: {
         returnTypes: ['T'],