Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FORCES
Manage
Activity
Members
Labels
Plan
Issues
14
Issue boards
Milestones
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CHS
FORCES
Merge requests
!86
mo_datetime: better conversion from string
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
mo_datetime: better conversion from string
datetime_partial_string_fix
into
main
Overview
2
Commits
3
Pipelines
6
Changes
2
1 unresolved thread
Hide all comments
Merged
Sebastian Müller
requested to merge
datetime_partial_string_fix
into
main
2 weeks ago
Overview
2
Commits
3
Pipelines
6
Changes
1
1 unresolved thread
Hide all comments
Expand
better conversion from string
allow 'T' as time separator
allow missing entries (e.g. no second given)
👍
0
👎
0
Merge request reports
Compare
version 1
version 2
7031ff7b
2 weeks ago
version 1
3f4eb514
2 weeks ago
main (base)
and
version 2
latest version
1ef90d13
3 commits,
1 week ago
version 2
7031ff7b
2 commits,
2 weeks ago
version 1
3f4eb514
1 commit,
2 weeks ago
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/mo_datetime.f90
+
2
−
2
Options
@@ -43,8 +43,8 @@
!!
!! ! create from datetime string
!! date5 = datetime('2023-05-08 12:32:30')
!! day1 = date('2023-05-08')
!! time1 = time('12:32:30')
!! day1 =
pure
date('2023-05-08')
!! time1 =
pure
time('12:32:30')
!! print*, date5 == time1%with_date(day1)
!! print*, date5 == day1%with_time(time1)
!! print*, date5 == datetime(day1, time1)
Loading