Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
StudiApp
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OST
SEProj
StudiApp
Merge requests
!42
Settings Module
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Settings Module
180-settings-semester-create-edit
into
master
Overview
17
Commits
6
Pipelines
2
Changes
19
Merged
Lukas Domeisen
requested to merge
180-settings-semester-create-edit
into
master
1 year ago
Overview
17
Commits
6
Pipelines
2
Changes
19
Expand
Closes
#180 (closed)
Closes
#179 (closed)
0
0
Merge request reports
Compare
master
version 1
25ac6555
1 year ago
master (base)
and
latest version
latest version
e68ec0e9
6 commits,
1 year ago
version 1
25ac6555
5 commits,
1 year ago
19 files
+
609
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
19
Search (e.g. *.vue) (Ctrl+P)
StudiApp/StudiApp/Services/Converters/DateToStringConverter.cs
0 → 100644
+
23
−
0
Options
using
System
;
using
System.Collections.Generic
;
using
System.Globalization
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
StudiApp.Services.Converters
;
public
class
DateToStringConverter
:
IValueConverter
{
public
object
Convert
(
object
value
,
Type
targetType
,
object
parameter
,
CultureInfo
culture
)
{
var
dateValue
=
(
DateTime
)
value
;
return
dateValue
.
ToString
(
"d"
,
culture
);
}
// no implementation of ConvertBack because this converter is only used to display data
public
object
ConvertBack
(
object
value
,
Type
targetType
,
object
parameter
,
CultureInfo
culture
)
{
throw
new
NotImplementedException
();
}
}