Commit 6deb6e51 authored by Simon's avatar Simon

can apply to today job

parent baaa7d45
......@@ -20,9 +20,9 @@
## Production
- build CSS & JS assets - `C:\web\dev.biuro\ npm run build`
- build new image `docker build -t biuro/web:0.0.31 .` (update version number)
- build new image `docker build -t biuro/web:0.0.32 .` (update version number)
- login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
- push image to docker repository - `docker push biuro/web:0.0.31`
- push image to docker repository - `docker push biuro/web:0.0.32`
## Production
- update biuro/web image version in .env file (staging or www)
......
......@@ -60,7 +60,7 @@ get_header();
<?php
endif;
$validPosition = date_i18n( 'Y-m-d', strtotime( $pod->field( 'valid' ) ) ) > date('Y-m-d') ? true : false;
$validPosition = date_i18n( 'Y-m-d', strtotime( $pod->field( 'valid' ) ) ) >= date('Y-m-d') ? true : false;
?>
<p>
<?php _e('Published', 'biuro'); ?>: <?php echo date_i18n( get_option( 'date_format' ), strtotime( $pod->field( 'post_date' ) ) ); ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment