-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make GTime support multiple formats #2933
Conversation
Codecov ReportPatch coverage:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #2933 +/- ##
==========================================
+ Coverage 79.08% 79.09% +0.01%
==========================================
Files 643 643
Lines 52744 52748 +4
==========================================
+ Hits 41710 41722 +12
+ Misses 8952 8944 -8
Partials 2082 2082
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
@bigger-boss What is the business scenario for? |
The time string my
The time data string may not only come from a fixed format front-end component, but also from some sources without a fixed format, such as a column in an Excel table. Different users may use 2023 / 09 / 05 or 2023-09-05 or other formats to express time, which is not easy to control. The parameters here are variable, giving me the first impression that there may not be one, or there may be multiple. However, it was found that multiple types did not work. |
I see. There is another function |
@bigger-boss I see the ci failed. Please pull the latest master branch of the main repo |
Make GTime method support multiple formats