Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
7efdc04c
Commit
7efdc04c
authored
Feb 11, 2019
by
Simonas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
date format support
parent
666bc1c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
single-job.php
wp-content/themes/biuro/single-job.php
+2
-2
jobs-list.php
wp-content/themes/biuro/template-parts/jobs/jobs-list.php
+1
-1
No files found.
wp-content/themes/biuro/single-job.php
View file @
7efdc04c
...
...
@@ -39,9 +39,9 @@ get_header();
// debug( $pod );
?>
<p>
Paskelbta:
<?php
echo
date
(
"Y-m-d"
,
strtotime
(
$pod
->
field
(
'post_date'
)
)
);
?>
Paskelbta:
<?php
echo
date
_i18n
(
get_option
(
'date_format'
)
,
strtotime
(
$pod
->
field
(
'post_date'
)
)
);
?>
<br>
Galioja iki:
<?php
echo
date
(
"Y-m-d"
,
strtotime
(
$pod
->
field
(
'valid'
)
)
);
?>
Galioja iki:
<?php
echo
date
_i18n
(
get_option
(
'date_format'
)
,
strtotime
(
$pod
->
field
(
'valid'
)
)
);
?>
</p>
<br>
...
...
wp-content/themes/biuro/template-parts/jobs/jobs-list.php
View file @
7efdc04c
...
...
@@ -35,7 +35,7 @@ global $jobs;
<?php
echo
$jobs
->
display
(
'city'
);
?>
</td>
<td
class=
"c-jobs-list--col c-jobs-list--col-valid"
>
<?php
echo
$jobs
->
display
(
'valid'
);
?>
<?php
echo
date_i18n
(
get_option
(
'date_format'
),
strtotime
(
$jobs
->
field
(
'valid'
)
)
);
?>
</td>
</tr>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment