1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-10 18:48:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode/originData/[no content]convert-date-format.json
2023-12-09 19:57:46 +08:00

56 lines
3.0 KiB
JSON

{
"data": {
"question": {
"questionId": "2004",
"questionFrontendId": "1853",
"boundTopicId": null,
"title": "Convert Date Format",
"titleSlug": "convert-date-format",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 58,
"dislikes": 42,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "{\"headers\":{\"Days\":[\"day\"]},\"rows\":{\"Days\":[[\"2022-04-12\"],[\"2021-08-09\"],[\"2020-06-26\"]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"11.8K\", \"totalSubmission\": \"13.7K\", \"totalAcceptedRaw\": 11783, \"totalSubmissionRaw\": 13713, \"acRate\": \"85.9%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Days\":[\"day\"]},\"rows\":{\"Days\":[[\"2022-04-12\"],[\"2021-08-09\"],[\"2020-06-26\"]]}}",
"metaData": "{\"mysql\": [\"Create table If Not Exists Days (day date)\"], \"mssql\": [\"Create table Days (day date)\"], \"oraclesql\": [\"Create table Days (day date)\", \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"], \"database\": true, \"name\": \"convert_date_format\", \"pythondata\": [\"Days = pd.DataFrame([], columns=['day']).astype({'day':'datetime64[ns]'})\"], \"postgresql\": [\"Create table If Not Exists Days (day date)\"], \"database_schema\": {\"Days\": {\"day\": \"DATE\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Days (day date)",
"Truncate table Days",
"insert into Days (day) values ('2022-04-12')",
"insert into Days (day) values ('2021-08-09')",
"insert into Days (day) values ('2020-06-26')"
],
"enableRunCode": true,
"enableTestMode": false,
"enableDebugger": false,
"envInfo": "{\"mysql\": [\"MySQL\", \"<p><code>MySQL 8.0</code>.</p>\"], \"mssql\": [\"MS SQL Server\", \"<p><code>mssql server 2019</code>.</p>\"], \"oraclesql\": [\"Oracle\", \"<p><code>Oracle Sql 11.2</code>.</p>\"], \"pythondata\": [\"Pandas\", \"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0</p>\"], \"postgresql\": [\"PostgreSQL\", \"<p>PostgreSQL 16</p>\"]}",
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}